Skip to content

Commit 450295d

Browse files
committed
update unlock-on-merge docs
1 parent c16e98a commit 450295d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/unlock-on-merge.md

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ permissions:
2525
jobs:
2626
unlock-on-merge:
2727
runs-on: ubuntu-latest
28+
# Gate this job to only run when the pull request is merged (not closed)
29+
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-your-pull_request-workflow-when-a-pull-request-merges
30+
if: github.event.pull_request.merged == true
2831

2932
steps:
3033
- name: unlock on merge

0 commit comments

Comments
 (0)