Skip to content

Commit

Permalink
DN-1: Branch name test.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereckmezquita committed Apr 29, 2024
1 parent 0dde437 commit 440bb12
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/branch_name_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Example Workflow

on:
pull_request:

jobs:
example_job:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Set branch name as env var
run: echo "BRANCH_NAME=${{ github.head_ref }}" >> $GITHUB_ENV

- name: Use branch name
run: echo "The branch name is $BRANCH_NAME"

0 comments on commit 440bb12

Please sign in to comment.