File tree Expand file tree Collapse file tree 6 files changed +31
-4
lines changed
Expand file tree Collapse file tree 6 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 1010 schedule :
1111 - cron : " 0 0 * * 0"
1212
13+ permissions :
14+ actions : read # for github/codeql-action/init to get workflow details
15+ contents : read # for actions/checkout to fetch code
16+ security-events : write # for github/codeql-action/analyze to upload SARIF results
17+
1318jobs :
1419 CodeQL-Build :
1520 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11name : Tests
22on : [push, pull_request]
3+
4+ permissions :
5+ contents : read
6+
37jobs :
48 build :
59 strategy :
Original file line number Diff line number Diff line change @@ -2,16 +2,21 @@ name: Issue Automation
22on :
33 issues :
44 types : [opened]
5+
6+ permissions :
7+ contents : none
8+ issues : write
9+
510jobs :
611 issue-auto :
712 runs-on : ubuntu-latest
813 steps :
914 - name : label incoming issue
1015 env :
11- GH_REPO : ${{ github.repository }}
12- GH_TOKEN : ${{ secrets.AUTOMATION_TOKEN }}
13- ISSUENUM : ${{ github.event.issue.number }}
14- ISSUEAUTHOR : ${{ github.event.issue.user.login }}
16+ GH_REPO : ${{ github.repository }}
17+ GH_TOKEN : ${{ secrets.AUTOMATION_TOKEN }}
18+ ISSUENUM : ${{ github.event.issue.number }}
19+ ISSUEAUTHOR : ${{ github.event.issue.user.login }}
1520 run : |
1621 if ! gh api orgs/cli/public_members/$ISSUEAUTHOR --silent 2>/dev/null
1722 then
Original file line number Diff line number Diff line change 1111 - go.mod
1212 - go.sum
1313
14+ permissions :
15+ contents : read
16+
1417jobs :
1518 lint :
1619 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -2,6 +2,12 @@ name: PR Automation
22on :
33 pull_request_target :
44 types : [ready_for_review, opened, reopened]
5+
6+ permissions :
7+ contents : none
8+ issues : write
9+ pull-requests : write
10+
511jobs :
612 pr-auto :
713 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 55 tags :
66 - " v*"
77
8+ permissions :
9+ contents : write # publishing releases
10+ repository-projects : write # move cards between columns
11+
812jobs :
913 goreleaser :
1014 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments