Skip to content

Commit 8d6d83a

Browse files
johnbilliondesrosj
andauthored
Apply suggestions from code review
Co-authored-by: Jonathan Desrosiers <[email protected]>
1 parent 0ee00f9 commit 8d6d83a

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

.github/workflows/reusable-workflow-lint.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,16 @@ on:
55
permissions: {}
66

77
jobs:
8+
# Runs the actionlint GitHub Action workflow file linter.
9+
#
10+
# This helps guard against common mistakes including strong type checking for expressions (${{ }}), security checks,
11+
# `run:` script checking, glob syntax validation, and more.
12+
#
13+
# Performs the following steps:
14+
# - Checks out the repository.
15+
# - Runs actionlint.
816
actionlint:
9-
name: Actionlint
17+
name: Run actionlint
1018
runs-on: ubuntu-latest
1119
permissions:
1220
contents: read
@@ -16,8 +24,10 @@ jobs:
1624
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1725
with:
1826
persist-credentials: false
27+
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
1928

20-
# https://github.com/rhysd/actionlint
29+
# actionlint is static checker for GitHub Actions workflow files.
30+
# See https://github.com/rhysd/actionlint.
2131
- name: Run actionlint
2232
uses: docker://rhysd/actionlint:1.7.7
2333
with:

.github/workflows/workflow-lint.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ on:
44
push:
55
branches:
66
- trunk
7-
- '[0-9].[0-9]'
7+
- '6.[8-9]'
8+
- '[7-9].[0-9]'
89
tags:
910
- '[0-9]+.[0-9]'
1011
- '[0-9]+.[0-9].[0-9]+'
@@ -33,7 +34,7 @@ permissions: {}
3334

3435
jobs:
3536
lint:
36-
name: Lint
37+
name: Lint GitHub Action files
3738
permissions:
3839
security-events: write
3940
actions: read

0 commit comments

Comments
 (0)