Add disable options for Update and Import steps #40
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@865ee04a1dfc8aa2571513eee8e84b5377153511 # 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@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Open Backport PR | |
uses: zeebe-io/backport-action@2ee900dc92632adf994f8e437b6d16840fd61f58 # v0.0.9 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
github_workspace: ${{ github.workspace }} | |
version: v0.0.4 |