Skip to content

Commit

Permalink
Added more PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
leventeBajczi committed Oct 21, 2024
1 parent 5b1b673 commit 8e5e212
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/check-copyright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Check copyright
uses: ./.github/actions/check-copyright
uses: ./.github/actions/check-copyright
- name: Comment
if: failure() && github.event_name == 'pull_request'
uses: thollander/actions-comment-pull-request@dadb7667129e23f12ca3925c90dc5cd7121ab57e
continue-on-error: true # if we are in a fork, this will fail, but we don't care (tables will be missing)
with:
comment_tag: 'copyright'
mode: 'recreate'
message: |
:exclamation: Please run `./gradlew spotlessApply` on your branch to fix copyright headers.
11 changes: 10 additions & 1 deletion .github/workflows/check-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,13 @@ jobs:
if: ${{ steps.new_version.outputs.version == steps.master_version.outputs.version }}
run: |
echo "New version ${{ steps.new_version.outputs.version }} is NOT OK"
exit 1
exit 1
- name: Comment
if: failure() && github.event_name == 'pull_request'
uses: thollander/actions-comment-pull-request@dadb7667129e23f12ca3925c90dc5cd7121ab57e
continue-on-error: true # if we are in a fork, this will fail, but we don't care (tables will be missing)
with:
comment_tag: 'version'
mode: 'recreate'
message: |
:exclamation: Please modify `build.gradle.kts` to contain a later version than ${{ steps.master_version.outputs.version }}. Current version is ${{ steps.new_version.outputs.version }}.

0 comments on commit 8e5e212

Please sign in to comment.