File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Lint GitHub Actions workflows
2
+ on : [push, pull_request]
3
+
4
+ jobs :
5
+ actionlint :
6
+ runs-on : ubuntu-latest
7
+ steps :
8
+ - uses : actions/checkout@v4
9
+ - name : Check workflow files
10
+ uses : docker://rhysd/actionlint:latest
11
+ with :
12
+ args : -color -ignore SC2086
Original file line number Diff line number Diff line change 27
27
id : announce_slack
28
28
run : |
29
29
readarray -td' ' URL_LIST <<<$SLACK_WEBHOOKS;
30
- for WEBHOOK_URL in ${URL_LIST[@]};
30
+ for WEBHOOK_URL in " ${URL_LIST[@]}" ;
31
31
do curl -X POST -H 'Content-type: application/json' \
32
32
--data '{
33
33
"blocks": [
Original file line number Diff line number Diff line change 4
4
release :
5
5
types :
6
6
- published # Triggered only when a new release is published
7
- branches :
8
- - master
9
7
permissions :
10
8
contents : write
11
9
jobs :
You can’t perform that action at this time.
0 commit comments