Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

consecration

consecration #74

Workflow file for this run

name: Publish
on:
# push:
# branches: [main]
pull_request:
types:
- closed
env:
HEAD_REF: ${{ github.head_ref }}
REF_NAME: ${{ github.ref_name }}
jobs:
print-branch-name:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Print the head ref env variable
run: echo "$HEAD_REF"
- name: Print the ref name
run: echo "$REF_NAME"
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch