Skip to content

Commit

Permalink
use github.ref_name (branch name) as ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Fish committed Oct 2, 2024
1 parent 75f1338 commit 9cf7de1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/trigger_docs_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- uses: dorny/paths-filter@v3
id: filter
with:
base: ${{ github.ref_name }}
filters: |
docs:
- 'docs/**'
Expand All @@ -31,11 +32,11 @@ jobs:
if: needs.check-changes.outputs.parser-changed == 'true'
uses: ./.github/workflows/generate_help_docs.yaml
with:
git_ref: ${{ github.head_ref }}
git_ref: ${{ github.ref_name }}

generate-README:
needs: [check-changes, generate-help-docs]
if: always() && !cancelled() && (needs.check-changes.outputs.docs-changed == 'true' || needs.generate-help-docs.outputs.help_docs_changed == 'true')
uses: ./.github/workflows/generate_README.yaml
with:
git_ref: ${{ github.head_ref }}
git_ref: ${{ github.ref_name }}

0 comments on commit 9cf7de1

Please sign in to comment.