Branch name must be unique? #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Comment Commands | |
on: issue_comment | |
jobs: | |
backport: | |
runs-on: ubuntu-22.04 | |
if: github.event.issue.pull_request && startsWith(github.event.comment.body, '/backport') | |
steps: | |
- name: Extract Command | |
id: command | |
uses: xt0rted/slash-command-action@v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
command: backport | |
reaction: "true" | |
reaction-type: "eyes" | |
allow-edits: "false" | |
permission-level: write | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Open Backport PR | |
uses: zeebe-io/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
github_workspace: ${{ github.workspace }} | |
version: v0.0.4 |