Skip to content

Commit bc41d89

Browse files
remyleonedevtools-ci-cd
andauthored
ci: add support for actionlint (#4575)
Co-authored-by: devtools-ci-cd <[email protected]>
1 parent 234035d commit bc41d89

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.github/workflows/actionlint.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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

.github/workflows/announce.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
id: announce_slack
2828
run: |
2929
readarray -td' ' URL_LIST <<<$SLACK_WEBHOOKS;
30-
for WEBHOOK_URL in ${URL_LIST[@]};
30+
for WEBHOOK_URL in "${URL_LIST[@]}";
3131
do curl -X POST -H 'Content-type: application/json' \
3232
--data '{
3333
"blocks": [

.github/workflows/deploy-docs.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on:
44
release:
55
types:
66
- published # Triggered only when a new release is published
7-
branches:
8-
- master
97
permissions:
108
contents: write
119
jobs:

0 commit comments

Comments
 (0)