Skip to content

Commit

Permalink
Template repository changes: remal-gradle-plugins/template (#24)
Browse files Browse the repository at this point in the history
Co-authored-by: remal-gradle-plugins <77341723+remal-gradle-plugins+sync-with-template@users.noreply.github.com>
  • Loading branch information
remal and remal-gradle-plugins authored Oct 5, 2024
1 parent 12b408f commit 70fe2c9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/cancel-pr-actions-on-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Cancel PR actions on merge

on:
pull_request:
types:
- closed
- merged

permissions:
pull-requests: 'read'
checks: 'read'
actions: 'write'

jobs:
cancel-pr-actions-on-merge:
if: ${{ github.event.pull_request.merged }}
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Cancel PR actions on merge
uses: remal-github-actions/cancel-pr-actions@v1

0 comments on commit 70fe2c9

Please sign in to comment.