Skip to content

Commit

Permalink
add label
Browse files Browse the repository at this point in the history
  • Loading branch information
ahms5 committed Apr 19, 2024
1 parent 9e2bd32 commit 91adbfd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/create_issue_if_coockiecutter.yml
@@ -1,16 +1,15 @@
on:
pull_request:
types:
- closed
name: Create issue if pr is merged with cookiecutter label
types: [ labeled ]
name: Create issue if pr gets a cookiecutter label
jobs:
stuff:
permissions:
contents: read
issues: write
name: create issue
environment: test
if: github.event.pull_request.merged == true && github.event.label.name == 'cookiecutter'
if: github.event.label.name == 'cookiecutter'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 91adbfd

Please sign in to comment.