File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ inputs:
11
11
message :
12
12
description : Alert message
13
13
required : false
14
- default : ${{ github.workflow }}/${{ github.job }} GitHub Actions workflow failed :sob:
14
+ default : ${{ github.workflow }} GitHub Actions workflow failed :sob:
15
15
type : string
16
16
results-url :
17
17
description : URL for workflow results
Original file line number Diff line number Diff line change 1
1
name : Terraform GitHub
2
2
' on ' :
3
3
push :
4
- branches : [main]
5
4
paths :
6
5
- ' .github/workflows/terraform-github.yml'
7
6
- ' terraform/github/**'
21
20
working-directory : ' ./terraform/github/'
22
21
steps :
23
22
- uses : actions/checkout@v4
23
+ - run : false
24
24
- uses : hashicorp/setup-terraform@v3
25
25
with :
26
26
cli_config_credentials_token : ${{ secrets.TF_API_TOKEN }}
@@ -121,4 +121,4 @@ jobs:
121
121
with :
122
122
slack-webhook-url : ${{ secrets.SLACK_WEBHOOK_URL }}
123
123
slack-channel-id : ${{ vars.SLACK_CHANNEL_ID }}
124
- if : failure() && github.ref == 'refs/heads/main' && github.event_name == 'push'
124
+ if : failure()
You can’t perform that action at this time.
0 commit comments