Skip to content

Commit

Permalink
Merge pull request #753 from sever-sever/T6674-actions-keys
Browse files Browse the repository at this point in the history
T6674: Add keys gpg_key_id and package_branch to rebuild packages
  • Loading branch information
c-po authored Sep 6, 2024
2 parents c319ca6 + c371faf commit ae3e89d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/trigger_rebuild_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/**'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ae3e89d

Please sign in to comment.