File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Action CI
2+
3+ on :
4+ push :
5+ tags-ignore :
6+ - ' v*'
7+ branches :
8+ - " master"
9+ pull_request :
10+ workflow_call :
11+
12+ concurrency :
13+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
14+ cancel-in-progress : true
15+
16+ jobs :
17+ actionci :
18+ permissions :
19+ contents : read
20+ security-events : write
21+ uses : smallstep/workflows/.github/workflows/actionci.yml@main
22+ secrets : inherit
Original file line number Diff line number Diff line change 99 pull_request :
1010 workflow_call :
1111
12+ permissions :
13+ contents : read
14+
1215jobs :
1316 ci :
17+ permissions :
18+ actions : read
19+ contents : read
20+ security-events : write
1421 uses : smallstep/workflows/.github/workflows/goCI.yml@main
1522 with :
1623 only-latest-golang : false
2229 runs-on : ubuntu-latest
2330 services :
2431 postgres :
25- image : postgres
32+ image : postgres:17
2633 env :
2734 POSTGRES_USER : user
2835 POSTGRES_PASSWORD : password
Original file line number Diff line number Diff line change 22 schedule :
33 - cron : ' 0 0 * * SUN'
44
5+ permissions :
6+ actions : read
7+ contents : read
8+ security-events : write
9+
510jobs :
611 code-scan :
712 uses : smallstep/workflows/.github/workflows/code-scan.yml@main
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ permissions:
88jobs :
99 dependabot :
1010 runs-on : ubuntu-latest
11- if : ${{ github.actor == 'dependabot[bot]' }}
11+ if : ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
1212 steps :
1313 - name : Dependabot metadata
1414 id : metadata
15- uses : dependabot/fetch-metadata@v2.5.0
15+ uses : dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a # v2.5.0
1616 with :
1717 github-token : " ${{ secrets.GITHUB_TOKEN }}"
1818 - name : Enable auto-merge for Dependabot PRs
Original file line number Diff line number Diff line change 88 types :
99 - opened
1010
11+ permissions :
12+ contents : read
13+ issues : write
14+ pull-requests : write
15+
1116jobs :
1217
1318 label :
1419 name : Label PR
20+ permissions :
21+ contents : read
22+ pull-requests : write
1523 runs-on : ubuntu-latest
1624 if : github.event_name == 'pull_request_target'
1725 steps :
18- - uses : actions/labeler@v6.0.1
26+ - uses : actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
1927 with :
2028 repo-token : " ${{ secrets.GITHUB_TOKEN }}"
2129
2230 add-to-project :
2331 name : Add to Triage Project
32+ permissions :
33+ contents : read
34+ issues : write
35+ pull-requests : write
2436 runs-on : ubuntu-latest
2537 steps :
26- - uses : actions/add-to-project@v1.0.2
38+ - uses : actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e # v1.0.2
2739 with :
2840 project-url : https://github.com/orgs/smallstep/projects/94
2941 github-token : ${{ secrets.TRIAGE_PAT }}
Original file line number Diff line number Diff line change 1+ rules :
2+ unpinned-uses :
3+ config :
4+ policies :
5+ " smallstep/* " : ref-pin
6+ secrets-inherit :
7+ disable : true
8+ ref-confusion :
9+ disable : true
10+ dangerous-triggers :
11+ ignore :
12+ - triage.yml
13+ cache-poisoning :
14+ disable : true
15+ dependabot-cooldown :
16+ disable : true
You can’t perform that action at this time.
0 commit comments