Skip to content

Commit a90f32d

Browse files
chore(ci): ci concurrency, permissions, no persist-credentials
1 parent d88321a commit a90f32d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,21 @@ on:
66
- main
77
pull_request:
88

9+
concurrency:
10+
group: '${{ github.workflow }} - ${{ github.head_ref || github.ref }}'
11+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
12+
13+
permissions:
14+
contents: read
15+
916
jobs:
1017
build:
18+
name: Lint, Build, Test
1119
runs-on: ubuntu-latest
1220
steps:
1321
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
22+
with:
23+
persist-credentials: false
1424
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
1525
with:
1626
node-version-file: .nvmrc

0 commit comments

Comments
 (0)