chore(deps): bump pre-commit from v3.5.0 to v3.6.0 #1180
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write # for pre-commit-action | |
jobs: | |
test: | |
name: Run Pre-commit Hooks | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out repository. | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
fetch-depth: 0 | |
- name: Run pre-commit hooks. | |
uses: ScribeMD/pre-commit-action@aaa96559a813c7280f69aa91a73916dc3eabf19e # 0.9.116 | |
- name: Send Slack notification with job status. | |
if: always() | |
uses: ./ | |
with: | |
bot-token: ${{ secrets.SLACK_BOT_TOKEN }} | |
channel-id: ${{ secrets.SLACK_ACTIONS_CHANNEL_ID }} | |
template: result |