Skip to content

[Backport legacy] github: only create release if a tag was pushed #46

[Backport legacy] github: only create release if a tag was pushed

[Backport legacy] github: only create release if a tag was pushed #46

Workflow file for this run

---
name: Backport merged pull request
on: # yamllint disable-line rule:truthy
pull_request_target:
types: [closed]
permissions:
contents: write # so it can comment
pull-requests: write # so it can create pull requests
jobs:
backport:
name: Backport pull request
runs-on: ubuntu-latest
# Don't run on closed unmerged pull requests
if: github.event.pull_request.merged
steps:
- uses: actions/checkout@v3
- name: Create backport pull requests
uses: korthout/backport-action@v1