Skip to content

Commit 41a346d

Browse files
tangrufusCopilot
andauthored
Lint GitHub Actions (#99)
* Lint GitHub Actions; Double-quote `$GITHUB_ENV` Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: tangrufus <2259834+tangrufus@users.noreply.github.com>
1 parent 5c86ec3 commit 41a346d

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/lint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ permissions:
1717
contents: read
1818

1919
jobs:
20+
actions:
21+
uses: typisttech/.github/.github/workflows/lint-actions.yml@v3
22+
2023
php:
2124
uses: typisttech/.github/.github/workflows/lint-php.yml@v3
2225
with:
@@ -29,6 +32,7 @@ jobs:
2932

3033
wait-for-all-lint:
3134
needs:
35+
- actions
3236
- php
3337
- go
3438
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
actions: read
7979
steps:
8080
- name: Set VERSION environment variable
81-
run: echo VERSION="${TAGISH#v}" >> $GITHUB_ENV
81+
run: echo VERSION="${TAGISH#v}" >> "$GITHUB_ENV"
8282
env:
8383
TAGISH: ${{ github.ref_type == 'tag' && github.ref_name || format('v0.0.0-{0}+{1}', github.run_number, github.sha) }}
8484
- run: echo "${VERSION}"

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ jobs:
168168
with:
169169
go-version-file: 'go.mod'
170170

171-
- run: echo OS="$(go env GOOS)" >> $GITHUB_ENV
172-
- run: echo ARCH="$(go env GOARCH)" >> $GITHUB_ENV
171+
- run: echo OS="$(go env GOOS)" >> "$GITHUB_ENV"
172+
- run: echo ARCH="$(go env GOARCH)" >> "$GITHUB_ENV"
173173

174174
- uses: actions/download-artifact@v7
175175
with:

0 commit comments

Comments
 (0)