Skip to content

Commit

Permalink
update pull-request.yml to ignore actions on ignore-sensitive-files-pr
Browse files Browse the repository at this point in the history
label
  • Loading branch information
govindsingh3477 committed Oct 30, 2024
1 parent 6fadd0c commit 9b7bcd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
exit 1
Check-Sensitive-Files:
if: ${{ github.actor != 'dependabot[bot]' }}
if: ${{ github.actor != 'dependabot[bot]' && !contains(github.event.pull_request.labels.*.name, 'ignore-sensitive-files-pr') }}
name: Checks if sensitive files have been changed without authorization
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 9b7bcd3

Please sign in to comment.