diff options
author | Christian Breunig <christian@breunig.cc> | 2024-09-14 15:25:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-14 15:25:24 +0200 |
commit | c0343ca0bf09d259f835622fac1e10a72b1b3fdd (patch) | |
tree | 9c883aea92653de68e1b86245ba06d7c63800b0c | |
parent | f5b670d4048778cb490a2b56035c5d79e8fbc817 (diff) | |
parent | 40dd8bd077a6cc69d15a2ae8c1e43e495caf9a04 (diff) | |
download | hvinfo-c0343ca0bf09d259f835622fac1e10a72b1b3fdd.tar.gz hvinfo-c0343ca0bf09d259f835622fac1e10a72b1b3fdd.zip |
Merge pull request #2 from sever-sever/T6674-trigger-rebuils-circinus
T6674: Action add trigger workflow to rebuild package
-rw-r--r-- | .github/workflows/trigger-rebuild-repo-package.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/trigger-rebuild-repo-package.yml b/.github/workflows/trigger-rebuild-repo-package.yml new file mode 100644 index 0000000..7a6a974 --- /dev/null +++ b/.github/workflows/trigger-rebuild-repo-package.yml @@ -0,0 +1,32 @@ +name: Trigger to build a deb package from repo + +on: + pull_request_target: + types: + - closed + branches: + - circinus + workflow_dispatch: + +jobs: + get_repo_name: + runs-on: ubuntu-latest + outputs: + PACKAGE_NAME: ${{ steps.package_name.outputs.PACKAGE_NAME }} + steps: + - name: Set variables + id: package_name + run: | + echo "PACKAGE_NAME=$(basename ${{ github.repository }})" >> $GITHUB_OUTPUT + + trigger-build: + needs: get_repo_name + uses: vyos/.github/.github/workflows/trigger-rebuild-repo-package.yml@circinus + with: + 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 }} |