diff options
author | Christian Breunig <christian@breunig.cc> | 2024-09-06 07:23:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-06 07:23:41 +0200 |
commit | ae3e89deeaf80eb2457aa9235e19e9da1fb2f1ad (patch) | |
tree | a843efbb47ce5ad2437519094b2c8921905e2044 | |
parent | c319ca672370216f88cd9f5e65f370bfea4ee7db (diff) | |
parent | c371faf3898ffa95e7f75b803011f031e41ca39e (diff) | |
download | vyos-build-ae3e89deeaf80eb2457aa9235e19e9da1fb2f1ad.tar.gz vyos-build-ae3e89deeaf80eb2457aa9235e19e9da1fb2f1ad.zip |
Merge pull request #753 from sever-sever/T6674-actions-keys
T6674: Add keys gpg_key_id and package_branch to rebuild packages
-rw-r--r-- | .github/workflows/trigger_rebuild_packages.yml | 6 |
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 |