diff --git a/.github/workflows/render-rmarkdown.yaml b/.github/workflows/render-rmarkdown.yaml index c0d9bae..938d25f 100644 --- a/.github/workflows/render-rmarkdown.yaml +++ b/.github/workflows/render-rmarkdown.yaml @@ -19,11 +19,19 @@ jobs: concurrency: group: rmarkdown-${{ github.event_name != 'pull_request' || github.run_id }} env: + BRANCH_NAME: ${{ github.head_ref || github.ref_name }} GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} permissions: contents: write steps: + - name: Showing GH context refs + shell: bash + run: | + echo github.head_ref ${{ github.head_ref }} + echo github.ref ${{ github.ref }} + echo github.ref_name ${{ github.ref_name }} + - name: Checkout PR branch uses: actions/checkout@v4 with: