ArgoCD Application creation fails when referenced repository/path does not exists #282
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: | |
# NOTE(negz): See also backport.yml, which is the variant that triggers on PR | |
# merge rather than on comment. | |
backport: | |
runs-on: ubuntu-20.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 | |
fresh: | |
runs-on: ubuntu-20.04 | |
if: startsWith(github.event.comment.body, '/fresh') | |
steps: | |
- name: Extract Command | |
id: command | |
uses: xt0rted/slash-command-action@v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
command: fresh | |
reaction: "true" | |
reaction-type: "eyes" | |
allow-edits: "false" | |
permission-level: read | |
- name: Handle Command | |
uses: actions-ecosystem/action-remove-labels@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
labels: stale |