We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 63b2d47 + 8f05286 commit d5b14cbCopy full SHA for d5b14cb
.github/workflows/issue_to_pr.yml
@@ -5,14 +5,15 @@ on:
5
- opened
6
- edited
7
- reopened
8
- if: contains(github.event.issue.labels.*.name, 'new contribution')
9
permissions:
10
contents: write
11
issues: write
12
pull-requests: write
13
14
jobs:
15
validate:
+ # Only run this job if the issue has the 'new contribution' label
16
+ if: contains(github.event.issue.labels.*.name, 'new contribution')
17
runs-on: ubuntu-latest
18
outputs:
19
props: ${{ steps.parseProps.outputs.props }}
@@ -101,6 +102,8 @@ jobs:
101
102
103
${{ steps.parseProps.outputs.error }}
104
create-pr:
105
106
107
needs: validate
108
env:
109
BRANCH_NAME: issue-${{ github.event.issue.number }}
0 commit comments