Skip to content

Commit

Permalink
Indentation is hard if you have a dent in your head
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldoomgov committed Nov 6, 2024
1 parent 102da97 commit 24c058f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/cheesecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ jobs:
cat temp/changeset.diff
echo "COMMITID=$(git rev-parse HEAD)" >> $GITHUB_ENV
- name: Send alert to Slack on changes
# Requires a GitHub environment secret for SLACK_WEBHOOK_URL which should target a Workflow in Slack.
# See https://github.com/marketplace/actions/slack-send#technique-1-slack-workflow-builder
if: env.CHANGED == 1 && github.ref == 'refs/heads/main'
uses: slackapi/slack-github-action@v1
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
payload: |
{
"message": "The cheese has moved! For the change see https://github.com/${{ github.repository }}/commit/${{ env.COMMITID }}"
}
# Requires a GitHub environment secret for SLACK_WEBHOOK_URL which should target a Workflow in Slack.
# See https://github.com/marketplace/actions/slack-send#technique-1-slack-workflow-builder
if: env.CHANGED == 1 && github.ref == 'refs/heads/main'
uses: slackapi/slack-github-action@v1
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
payload: |
{
"message": "The cheese has moved! For the change see https://github.com/${{ github.repository }}/commit/${{ env.COMMITID }}"
}

0 comments on commit 24c058f

Please sign in to comment.