From 377e1671c299a37ba2ce491ec9d1e2bfe83562ec Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Wed, 1 Jan 2025 00:34:17 +0000 Subject: [PATCH] chore(ci): allow manual trigger via issue --- .gitea/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 6bfaf1a..76c6b7d 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -9,6 +9,12 @@ jobs: check_manual_trigger: runs-on: ubuntu-latest steps: + - name: Log event metadata + run: | + echo "Issue: ${{ gitea.event.issue.number }}" + echo "Comment: ${{ gitea.event.comment.body }}" + echo "User: ${{ gitea.event.comment.user.login }}" + - name: Allow workflow if: contains(gitea.event.issue.number, '436')) && contains(gitea.event.comment.body, '/trigger-release') && contains(gitea.event.comment.user.login, 'luke') run: exit 0