summaryrefslogtreecommitdiff
path: root/.github/workflows/trigger_rebuild_packages.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/trigger_rebuild_packages.yml')
-rw-r--r--.github/workflows/trigger_rebuild_packages.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/trigger_rebuild_packages.yml b/.github/workflows/trigger_rebuild_packages.yml
index 8096fa08..d9a2c913 100644
--- a/.github/workflows/trigger_rebuild_packages.yml
+++ b/.github/workflows/trigger_rebuild_packages.yml
@@ -16,12 +16,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
- ref: current
+ ref: ${{ github.ref_name }}
- uses: dorny/paths-filter@v3
id: changes
with:
- base: current
+ base: ${{ github.ref_name }}
filters: |
aws-gwlbtun:
- 'scripts/package-build/aws-gwlbtun/**'
@@ -88,7 +88,7 @@ jobs:
-H "Authorization: Bearer ${{ secrets.PAT }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{ secrets.REMOTE_OWNER }}/${{ secrets.REMOTE_REUSE_REPO }}/actions/workflows/build-package.yml/dispatches \
- -d '{"ref": "${{ env.REF }}", "inputs":{"package_name":"'"$PACKAGE_NAME"'"}}'
+ -d '{"ref": "${{ env.REF }}", "inputs":{"package_name":"'"$PACKAGE_NAME"'", "gpg_key_id": "${{ secrets.GPG_KEY_ID }}", "package_branch": "${{ github.ref_name }}"}}'
}
# Trigger builds based on detected changes