3131 echo 'Changes to files in .github are not allowed.'
3232 - name : Comment if .github changed
3333 if : contains(steps.files.outputs.all_files_changed, '.github')
34- uses : mshick /add-pr-comment@v1
34+ uses : oracle-devrel /add-pr-comment@v1
3535 with :
3636 message : |
3737 :no_entry: **Banned Files Modified**
@@ -43,15 +43,15 @@ jobs:
4343 echo 'Changes to license_policy.yml are not allowed.'
4444 - name : Comment if license_policy.yml changed
4545 if : contains(steps.files.outputs.all_files_changed, '"license_policy.yml"')
46- uses : mshick /add-pr-comment@v1
46+ uses : oracle-devrel /add-pr-comment@v1
4747 with :
4848 message : |
4949 :no_entry: **Banned Files Modified**
5050 Changes to `license_policy.yml` are not permitted. Please revert your changes and re-submit a new PR. Simply changing the file back to its original state and re-committing won't work (you must revert the changes made to it).
5151 repo-token : ${{ secrets.GITHUB_TOKEN }}
5252 - name : Look for changes to repolinter.json
5353 if : contains(steps.files.outputs.all_files_changed, '"repolinter.json"')
54- uses : mshick /add-pr-comment@v1
54+ uses : oracle-devrel /add-pr-comment@v1
5555 with :
5656 message : |
5757 :no_entry: **Banned Files Modified**
6363 echo 'Changes to repolinter.json are not allowed.'
6464 - name : Look for changes to sonar-project.properties
6565 if : contains(steps.files.outputs.all_files_changed, '"sonar-project.properties"')
66- uses : mshick /add-pr-comment@v1
66+ uses : oracle-devrel /add-pr-comment@v1
6767 with :
6868 message : |
6969 :no_entry: **Banned Files Modified**
7676 - name : Fail on banned file changes
7777 if : contains(steps.files.outputs.all_files_changed, '.github') || contains(steps.files.outputs.all_files_changed, '"license_policy.yml"') || contains(steps.files.outputs.all_files_changed, '"repolinter.json"') || contains(steps.files.outputs.all_files_changed, '"sonar-project.properties"')
7878 run : |
79- exit 1
79+ exit 1
0 commit comments