File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## Unreleased
4
+
5
+ ### Features
6
+
7
+ - Danger - add "github" to the list of whitelisted users for action-pinning check ([ #55 ] ( https://github.com/getsentry/github-workflows/pull/55 ) )
8
+
3
9
## 2.5.1
4
10
5
11
### Fixes
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ async function checkActionsArePinned() {
149
149
/ ^ \+ ? * u s e s : * (?< user > [ ^ \/ ] + ) \/ (?< action > [ ^ @ ] + ) @ (?< ref > [ ^ ] * ) / ;
150
150
const usesLocalRegex = / ^ \+ ? * u s e s : * \. \/ / ; // e.g. 'uses: ./.github/actions/something'
151
151
const shaRegex = / ^ [ a - f 0 - 9 ] { 40 } $ / ;
152
- const whitelistedUsers = [ "getsentry" , "actions" ] ;
152
+ const whitelistedUsers = [ "getsentry" , "actions" , "github" ] ;
153
153
154
154
for ( const path of workflowFiles ) {
155
155
const diff = await danger . git . structuredDiffForFile ( path ) ;
You can’t perform that action at this time.
0 commit comments