File tree Expand file tree Collapse file tree 6 files changed +21
-3
lines changed
Expand file tree Collapse file tree 6 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 44 types :
55 - closed
66
7+ permissions :
8+ contents : read
9+
710jobs :
811 cleanup :
912 runs-on : ubuntu-latest
@@ -14,14 +17,14 @@ jobs:
1417 - name : Cleanup
1518 run : |
1619 gh extension install actions/gh-actions-cache
17-
20+
1821 REPO=${{ github.repository }}
1922 BRANCH="refs/pull/${{ github.event.pull_request.number }}/merge"
2023
2124 echo "Fetching list of cache key"
2225 cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH -L 100 | cut -f 1 )
2326
24- ## Setting this to not fail the workflow while deleting cache keys.
27+ ## Setting this to not fail the workflow while deleting cache keys.
2528 set +e
2629 echo "Deleting caches..."
2730 for cacheKey in $cacheKeysForPR
3033 done
3134 echo "Done"
3235 env :
33- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 88 pull_request :
99 merge_group :
1010
11+ permissions :
12+ contents : read
13+
1114concurrency :
1215 group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
1316 cancel-in-progress : true
Original file line number Diff line number Diff line change 44 pull_request :
55 branches : [main, master]
66
7+ permissions :
8+ contents : read
9+
710jobs :
811 enforce-license-compliance :
912 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 77 description : ' Name of version (ie 23.9.5)'
88 required : true
99
10+ permissions :
11+ contents : read
12+
1013jobs :
1114 create-release-pr :
1215 name : Create PR for Release ${{ github.event.inputs.versionName }}
Original file line number Diff line number Diff line change 66 - main
77 types : [closed]
88
9+ permissions :
10+ contents : read
11+
912jobs :
1013 create-release :
1114 name : Tag Release ${{ github.head_ref }} and Push Docker image to Docker Hub
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Trigger gazebo preview deploy
22
33on : pull_request
44
5+ permissions :
6+ contents : read
7+
58jobs :
69 run :
710 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments