Skip to content

Commit d3c0ac8

Browse files
resolve merge conflicts
1 parent e2a5032 commit d3c0ac8

File tree

3 files changed

+625
-45
lines changed

3 files changed

+625
-45
lines changed

.github/workflows/lint-actions.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,30 @@ name: Lint GitHub Actions workflows
22
on:
33
pull_request:
44
paths:
5-
- '.github/**'
5+
- '.github/**'
66
merge_group:
77
push:
88
paths:
9-
- '.github/**'
9+
- '.github/**'
1010

1111
jobs:
1212
actionlint:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16+
- name: build actionlint config for runner labels
17+
shell: bash
18+
run: |
19+
cat > .github/actionlint.yaml<< EOF
20+
self-hosted-runner:
21+
# Labels of self-hosted runner in array of string
22+
labels:
23+
- bnb-chain-ap-qa-cicd-runners
24+
EOF
1625
- name: Download actionlint
1726
id: get_actionlint
1827
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
1928
shell: bash
2029
- name: Check workflow files
2130
run: SHELLCHECK_OPTS="-S error" ${{ steps.get_actionlint.outputs.executable }} -color
22-
shell: bash
31+
shell: bash

0 commit comments

Comments
 (0)