Skip to content

Commit 617a198

Browse files
committed
chore(ci): update github action versions
- semantic pull request handles single-commit PRs better now - cancel action defaults to token we always specify, cleaner now
1 parent 480a172 commit 617a198

File tree

5 files changed

+12
-24
lines changed

5 files changed

+12
-24
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ jobs:
1010
name: 'Spelling & Grammar'
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: styfle/[email protected]
14-
with:
15-
access_token: ${{ github.token }}
13+
- uses: styfle/[email protected]
1614
- uses: actions/checkout@v2
1715
with:
1816
fetch-depth: 1

.github/workflows/linting.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ jobs:
1414
timeout-minutes: 15
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: styfle/[email protected]
18-
with:
19-
access_token: ${{ github.token }}
17+
- uses: styfle/[email protected]
2018
- uses: actions/checkout@v2
2119
with:
2220
fetch-depth: 1
@@ -63,9 +61,7 @@ jobs:
6361
runs-on: ubuntu-latest
6462
timeout-minutes: 15
6563
steps:
66-
- uses: styfle/[email protected]
67-
with:
68-
access_token: ${{ github.token }}
64+
- uses: styfle/[email protected]
6965
- uses: actions/checkout@v2
7066
with:
7167
fetch-depth: 1
@@ -98,9 +94,7 @@ jobs:
9894
runs-on: ubuntu-latest
9995
timeout-minutes: 15
10096
steps:
101-
- uses: styfle/[email protected]
102-
with:
103-
access_token: ${{ github.token }}
97+
- uses: styfle/[email protected]
10498
- uses: actions/checkout@v2
10599
with:
106100
fetch-depth: 1

.github/workflows/pr_title.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ on:
99
jobs:
1010
main:
1111
runs-on: ubuntu-latest
12+
env:
13+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
1214
steps:
13-
- uses: amannn/action-semantic-pull-request@v2.1.0
14-
env:
15-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
15+
- uses: amannn/action-semantic-pull-request@v3.4.0
16+
with:
17+
validateSingleCommit: true

.github/workflows/tests_e2e.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ jobs:
3232
EMULATOR_COMMAND: "-avd TestingAVD -noaudio -gpu swiftshader_indirect -camera-back none -no-snapshot -no-window -no-boot-anim -nojni -memory 2048 -timezone 'Europe/London' -cores 2"
3333
EMULATOR_EXECUTABLE: qemu-system-x86_64-headless
3434
steps:
35-
- uses: styfle/[email protected]
36-
with:
37-
access_token: ${{ github.token }}
35+
- uses: styfle/[email protected]
3836

3937
- uses: actions/checkout@v2
4038
with:
@@ -213,9 +211,7 @@ jobs:
213211
env:
214212
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
215213
steps:
216-
- uses: styfle/[email protected]
217-
with:
218-
access_token: ${{ github.token }}
214+
- uses: styfle/[email protected]
219215

220216
- uses: actions/checkout@v2
221217
with:

.github/workflows/tests_jest.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ jobs:
2626
env:
2727
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2828
steps:
29-
- uses: styfle/[email protected]
30-
with:
31-
access_token: ${{ github.token }}
29+
- uses: styfle/[email protected]
3230
- uses: actions/checkout@v2
3331
with:
3432
fetch-depth: 50

0 commit comments

Comments
 (0)