diff options
author | Yevhen Bondarenko <evgeniy.bondarenko@sentrium.io> | 2024-09-19 16:37:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-19 16:37:58 +0200 |
commit | 14d08ca13d3d60b534702ac5a65bb65a046d6481 (patch) | |
tree | 0d437eea8ab13a1fc8062192fc960f643c09418f | |
parent | d4444a0a7c110243143476bbe03a3d42eb461428 (diff) | |
parent | d17af1642fceea9348fe621ef702649a4c4e6241 (diff) | |
download | vyatta-wanloadbalance-14d08ca13d3d60b534702ac5a65bb65a046d6481.tar.gz vyatta-wanloadbalance-14d08ca13d3d60b534702ac5a65bb65a046d6481.zip |
Merge pull request #29 from sever-sever/T6674-trigger-rebuild-sagsagitta
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..f267a63 --- /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: + - sagitta + 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@sagitta + 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 }} |