We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a82cd0 commit 065eff9Copy full SHA for 065eff9
.github/workflows/create-tag.yml
@@ -7,7 +7,11 @@ on:
7
8
jobs:
9
create-tag:
10
- if: github.event.pull_request.merged == true && github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name && startsWith(github.event.pull_request.head.ref, 'bump-version')
+ if: >-
11
+ github.event.pull_request.merged == true &&
12
+ github.event.pull_request.user.login == 'github-actions' &&
13
+ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name &&
14
+ startsWith(github.event.pull_request.head.ref, 'bump-version')
15
runs-on: ubuntu-latest
16
steps:
17
- name: Checkout code
0 commit comments