jetzt sollte es doch gehen mit ref anstatt baseref #4
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: 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.ref}} | |
run: | |
echo $BRANCH_NAME |