summaryrefslogtreecommitdiff
path: root/.github/workflows/trigger-rebuild-repo-package.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/trigger-rebuild-repo-package.yml')
-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 d0936b572..37ec83274 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 }}