summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-09-14 15:30:36 +0200
committerGitHub <noreply@github.com>2024-09-14 15:30:36 +0200
commit69aeb036550d8615722d18500e7a97fa790cbeba (patch)
treeabe2c4db353522916f757afc7127a44bf634c520
parent63f6ffc1603310bbea449042ad74c1cefd9776df (diff)
parent6665bf9069ec1d250235804b9158c4c839845fd4 (diff)
downloadvyos-cloud-init-current.tar.gz
vyos-cloud-init-current.zip
Merge pull request #82 from sever-sever/T6674-trigger-rebuils-currentHEADcurrent
T6674: Action add trigger workflow to rebuild package
-rw-r--r--.github/workflows/trigger-rebuild-repo-package.yml15
1 files changed, 7 insertions, 8 deletions
diff --git a/.github/workflows/trigger-rebuild-repo-package.yml b/.github/workflows/trigger-rebuild-repo-package.yml
index d0936b57..37ec8327 100644
--- a/.github/workflows/trigger-rebuild-repo-package.yml
+++ b/.github/workflows/trigger-rebuild-repo-package.yml
@@ -1,7 +1,7 @@
name: Trigger to build a deb package from repo
on:
- pull_request:
+ pull_request_target:
types:
- closed
branches:
@@ -23,11 +23,10 @@ jobs:
needs: get_repo_name
uses: vyos/.github/.github/workflows/trigger-rebuild-repo-package.yml@current
with:
- branch: ${{ github.ref_name }}
- package_name: ${{ needs.get_repo_name.outputs.PACKAGE_NAME }}
- REF: main # optinal because the default value is main
+ branch: ${{ github.ref_name }}
+ package_name: ${{ needs.get_repo_name.outputs.PACKAGE_NAME }}
secrets:
- REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }}
- REMOTE_REUSE_REPO: ${{ secrets.REMOTE_REUSE_REPO }}
- GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
- PAT: ${{ secrets.PAT }}
+ REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }}
+ REMOTE_REUSE_REPO: ${{ secrets.REMOTE_REUSE_REPO }}
+ GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
+ PAT: ${{ secrets.PAT }}