WCM-311: Revert Remove delay from inline form save, to avoid overlapping with other actions (that were triggered immediately) #1040
Workflow file for this run
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: pre-commit | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
env: | |
PROJECT: vivi | |
BUILD_URL: "${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}" | |
concurrency: precommit_branch_${{github.ref_name}} | |
jobs: | |
pre-commit: | |
runs-on: zon-ubuntu-general-dind | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
python-version: "3.12" | |
- uses: pre-commit/[email protected] | |
- uses: slackapi/[email protected] | |
if: failure() && github.ref_name == 'main' | |
with: | |
channel-id: "${{secrets.SLACK_TEAM_CONTENT_CHANNEL_ID}}" | |
slack-message: ":small_red_triangle_down: <${{env.BUILD_URL}}|${{env.PROJECT}}> tests failed" | |
env: | |
SLACK_BOT_TOKEN: ${{secrets.SLACK_BOT_TOKEN}} |