Skip to content

Commit 928e4f2

Browse files
authored
Update banned_file_changes_pr.yml
Change add-comments to oracle-devrel
1 parent b053fdb commit 928e4f2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/banned_file_changes_pr.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
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**
@@ -63,7 +63,7 @@ jobs:
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**
@@ -76,4 +76,4 @@ jobs:
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

Comments
 (0)