-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
b/395119204
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Workflow Debug | ||
Check failure Code scanning / Scorecard Token-Permissions High
score is 0: no topLevel permission defined
Remediation tip: Visit https://app.stepsecurity.io/secureworkflow. Tick the 'Restrict permissions for GITHUB_TOKEN' Untick other options NOTE: If you want to resolve multiple issues at once, you can visit https://app.stepsecurity.io/securerepo instead. Click Remediation section below for further remediation help |
||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize, labeled] | ||
branches: | ||
- main | ||
- experimental/* | ||
- feature/* | ||
push: | ||
branches: | ||
- main | ||
- experimental/* | ||
- feature/* | ||
|
||
|
||
jobs: | ||
debug: | ||
runs-on: ubuntu-latest | ||
permissions: {} | ||
timeout-minutes: 10 | ||
steps: | ||
- name: Print github | ||
shell: bash | ||
run: | | ||
echo '${{ toJSON(github) }}' | jq '.' | ||
- name: Print concurrency expression | ||
shell: bash | ||
run: | | ||
echo "${{ github.workflow }}-${{ github.event_name }}-platform @ ${{ github.event.label.name || github.event.pull_request.number || github.sha }} @ ${{ github.event.label.name && github.event.pull_request.number || github.event.action }}" |