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 065eff9 commit 0b6b179Copy full SHA for 0b6b179
.github/workflows/create-tag.yml
@@ -4,10 +4,16 @@ on:
4
pull_request:
5
types:
6
- closed
7
-
+ workflow_dispatch:
8
+ inputs:
9
+ commit:
10
+ description: 'Commit hash'
11
+ required: true
12
+ type: string
13
jobs:
14
create-tag:
15
if: >-
16
+ (inputs.commit || false)
17
github.event.pull_request.merged == true &&
18
github.event.pull_request.user.login == 'github-actions' &&
19
github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name &&
@@ -16,6 +22,8 @@ jobs:
22
steps:
23
- name: Checkout code
24
uses: actions/checkout@v4
25
+ with:
26
+ ref: ${{ inputs.commit || '' }}
27
20
28
- name: Install rust toolchain
21
29
uses: dtolnay/rust-toolchain@stable
0 commit comments