Skip to content

Commit

Permalink
comment_echo_branch.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesleitl-senacor committed Sep 12, 2024
1 parent ad015ef commit 235580a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/comment_echo_branch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: echo branchname on comment
on:
issue_comment:
jobs:
branchname:
if: contains(github.event.comment.body, '/branchname')
runs-on: ubuntu-latest
steps:
- name: echo-branch
env:
BRANCH_NAME: ${{github.base_ref}}
run:
echo $BRANCH_NAME

0 comments on commit 235580a

Please sign in to comment.