Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/banned_file_changes_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
echo 'Changes to files in .github are not allowed.'
- name: Comment if .github changed
if: contains(steps.files.outputs.all_files_changed, '.github')
uses: mshick/add-pr-comment@v1
uses: mshick/add-pr-comment@v3
with:
message: |
:no_entry: **Banned Files Modified**
Expand All @@ -43,15 +43,15 @@ jobs:
echo 'Changes to license_policy.yml are not allowed.'
- name: Comment if license_policy.yml changed
if: contains(steps.files.outputs.all_files_changed, '"license_policy.yml"')
uses: mshick/add-pr-comment@v1
uses: mshick/add-pr-comment@v3
with:
message: |
:no_entry: **Banned Files Modified**
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).
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Look for changes to repolinter.json
if: contains(steps.files.outputs.all_files_changed, '"repolinter.json"')
uses: mshick/add-pr-comment@v1
uses: mshick/add-pr-comment@v3
with:
message: |
:no_entry: **Banned Files Modified**
Expand All @@ -63,7 +63,7 @@ jobs:
echo 'Changes to repolinter.json are not allowed.'
- name: Look for changes to sonar-project.properties
if: contains(steps.files.outputs.all_files_changed, '"sonar-project.properties"')
uses: mshick/add-pr-comment@v1
uses: mshick/add-pr-comment@v3
with:
message: |
:no_entry: **Banned Files Modified**
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license_audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: echo "${{ steps.analysis.outputs.unapproved_licenses }}"
- name: Comment if analysis finds unapproved licenses
if: steps.analysis.outputs.unapproved_licenses == 'true'
uses: mshick/add-pr-comment@v1
uses: mshick/add-pr-comment@v3
with:
message: |
:no_entry: **License Inspection**
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/repolinter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
echo "Errored: ${{ steps.analysis.outputs.errored }}"
- name: Comment if analysis finds missing disclaimer
if: steps.analysis.outputs.disclaimer_found == 'false'
uses: mshick/add-pr-comment@v1
uses: mshick/add-pr-comment@v3
with:
message: |
:no_entry: **FAILURE: Missing Disclaimer**
Expand All @@ -47,7 +47,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Comment if analysis finds missing readme
if: steps.analysis.outputs.readme_file_found == 'false'
uses: mshick/add-pr-comment@v1
uses: mshick/add-pr-comment@v3
with:
message: |
:no_entry: **FAILURE: Missing README**
Expand All @@ -58,7 +58,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Comment if analysis finds missing license
if: steps.analysis.outputs.license_file_found == 'false'
uses: mshick/add-pr-comment@v1
uses: mshick/add-pr-comment@v3
with:
message: |
:no_entry: **FAILURE: Missing LICENSE**
Expand All @@ -69,7 +69,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Comment if analysis finds copyright notice missing
if: steps.analysis.outputs.copyright_found == 'false'
uses: mshick/add-pr-comment@v1
uses: mshick/add-pr-comment@v3
with:
message: |
:warning: **WARNING: Missing Copyright Notice(s)**
Expand Down