File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 44 schedule :
55 - cron : " 0 0 * * *"
66
7+ permissions :
8+ contents : read
9+
710jobs :
811 check :
912 runs-on : ubuntu-latest
13+ permissions :
14+ contents : read
15+ issues : write # This permission is needed to create the issue
1016 steps :
1117 - uses : actions/checkout@v4
1218 - name : Pull new trusted root
1824 diff resources/trusted-root.jsonl resources/new-trusted-root.jsonl \
1925 && echo "Trusted root cert has not changed, no action required." \
2026 || ( \
21- (gh issue list | grep -i "Trusted root needs updating") \
27+ (gh issue list --label "trusted-root-update" | grep -i "Trusted root needs updating") \
2228 && echo "Issue to update trusted root already exists, no action required." \
23- || gh issue create --title "Trusted root needs updating" --body "The trusted root certificate file needs updating. Use the \`gh attestation trusted-root > resources/trusted-root.jsonl\` command to update it." --assignee "asgrim" \
29+ || gh issue create --title "Trusted root needs updating" --body "The trusted root certificate file needs updating. Use the \`gh attestation trusted-root > resources/trusted-root.jsonl\` command to update it." --assignee "asgrim" --label "trusted-root-update" \
2430 )
You can’t perform that action at this time.
0 commit comments