From ea5e3a1da7e163b8338060cde06a5113353f4ef7 Mon Sep 17 00:00:00 2001 From: Ales Raszka Date: Tue, 7 Nov 2023 11:25:47 +0100 Subject: [PATCH] Add Github workflow that control labels using comments The new workflow allows user to control a pipeline trigger in case of failure and allow them to skip certain static checks that are not strictly required for certification. JIRA: ISV-4206 Signed-off-by: Ales Raszka --- .github/workflows/pr-label-command.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/pr-label-command.yml diff --git a/.github/workflows/pr-label-command.yml b/.github/workflows/pr-label-command.yml new file mode 100644 index 00000000000..ba7cd25fc3b --- /dev/null +++ b/.github/workflows/pr-label-command.yml @@ -0,0 +1,12 @@ +name: Github pull request labels + +on: + issue_comment: + types: [created, edited] + +permissions: + pull-requests: write + +jobs: + skip-test-labeler: + uses: redhat-openshift-ecosystem/github-workflows/.github/workflows/label-command.yml@main