Skip to content

Commit 7fcd706

Browse files
authored
Update Workflows (#44)
1 parent 1e7adea commit 7fcd706

File tree

5 files changed

+26
-20
lines changed

5 files changed

+26
-20
lines changed

.github/workflows/labeler.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ name: "PR Labeler"
33
on:
44
pull_request_target:
55

6-
permissions:
7-
pull-requests: write
8-
issues: write
9-
106
jobs:
117
labeler:
128
name: "Labeler"
139
runs-on: ubuntu-latest
1410
timeout-minutes: 5
1511

12+
permissions:
13+
pull-requests: write
14+
issues: write
15+
1616
steps:
1717
- name: "Checkout Configs"
1818
uses: actions/checkout@v5

.github/workflows/lint.yaml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,24 @@ concurrency:
1010
group: ${{ github.workflow }}-${{ github.ref }}
1111
cancel-in-progress: true
1212

13-
permissions:
14-
pull-requests: write
15-
1613
jobs:
1714
lint:
1815
name: "Lint"
1916
runs-on: ubuntu-latest
2017
timeout-minutes: 5
2118

19+
permissions:
20+
pull-requests: write
21+
2222
steps:
2323
- name: "Checkout"
2424
uses: actions/checkout@v5
2525

26-
#- name: "Debug event.json"
27-
# run: |
28-
# cat "${GITHUB_EVENT_PATH}"
26+
#- name: "Debug CTX github"
27+
# continue-on-error: true
28+
# env:
29+
# GITHUB_CTX: ${{ toJSON(github) }}
30+
# run: echo "$GITHUB_CTX"
2931

3032
- name: "ShellCheck"
3133
if: ${{ !cancelled() }}
@@ -43,13 +45,6 @@ jobs:
4345
echo "::endgroup::"
4446
npx prettier --check .
4547
46-
- name: "Hadolint"
47-
if: ${{ !cancelled() }}
48-
uses: hadolint/hadolint-action@v3.1.0
49-
with:
50-
dockerfile: Dockerfile
51-
ignore: DL3018
52-
5348
- name: "Yamllint"
5449
if: ${{ !cancelled() }}
5550
env:
@@ -76,6 +71,13 @@ jobs:
7671
echo "::endgroup::"
7772
"${RUNNER_TEMP}/actionlint" -color -verbose -shellcheck= -pyflakes=
7873
74+
- name: "Hadolint"
75+
if: ${{ !cancelled() }}
76+
uses: hadolint/hadolint-action@v3.1.0
77+
with:
78+
dockerfile: Dockerfile
79+
ignore: DL3018
80+
7981
#- name: "Vale"
8082
# if: ${{ !cancelled() }}
8183
# uses: errata-ai/vale-action@v2.1.1

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
name: "Release"
1010
runs-on: ubuntu-latest
1111
timeout-minutes: 5
12+
1213
permissions:
1314
contents: write
1415

.github/workflows/tags.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
name: "Tags"
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 5
15+
1516
permissions:
1617
contents: write
1718

.github/workflows/test.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ jobs:
3333
- name: "Checkout"
3434
uses: actions/checkout@v5
3535

36-
#- name: "Debug event.json"
37-
# run: |
38-
# cat "${GITHUB_EVENT_PATH}"
36+
#- name: "Debug CTX github"
37+
# continue-on-error: true
38+
# env:
39+
# GITHUB_CTX: ${{ toJSON(github) }}
40+
# run: echo "$GITHUB_CTX"
3941

4042
- name: "1: Write YAML"
4143
if: ${{ !cancelled() }}

0 commit comments

Comments
 (0)