Use selected branch for automated mapping updates

This commit is contained in:
Golumpa 2026-08-19 13:39:48 +01:00
parent c87ad76b75
commit c61b3f8048
2 changed files with 11 additions and 9 deletions

View file

@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
env:
AUTOMATION_BRANCH: dev/automated-mapping-update
AUTOMATION_BRANCH: dev/automated-mapping-update-${{ github.ref_name }}
NTE_ASSETS_REF: ${{ inputs.source_ref }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@v5
with:
fetch-depth: 0
ref: ${{ github.event.repository.default_branch }}
ref: ${{ github.ref_name }}
- name: Get Python
uses: actions/setup-python@v6
@ -91,7 +91,7 @@ jobs:
if: steps.changes.outputs.changed == 'true'
shell: bash
env:
BASE_BRANCH: ${{ github.event.repository.default_branch }}
BASE_BRANCH: ${{ github.ref_name }}
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
run: |
python - <<'PY'