This repository was archived by the owner on May 27, 2026. It is now read-only.
T8795: replace inline Mergify config with extends: mergify #34
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Trigger to build a deb package from repo | |
| on: | |
| pull_request_target: | |
| types: | |
| - closed | |
| branches: | |
| - current | |
| - circinus | |
| - sagitta | |
| workflow_dispatch: | |
| jobs: | |
| setup-vars: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| PACKAGE_NAME: ${{ steps.vars.outputs.PACKAGE_NAME }} | |
| BRANCH: ${{ steps.vars.outputs.BRANCH }} | |
| steps: | |
| - name: Set variables | |
| id: vars | |
| run: | | |
| echo "PACKAGE_NAME=$(basename ${{ github.repository }})" >> $GITHUB_OUTPUT | |
| if [ "${{ github.event_name }}" = "pull_request_target" ]; then | |
| echo "BRANCH=${{ github.event.pull_request.base.ref }}" >> $GITHUB_OUTPUT | |
| else | |
| echo "BRANCH=${{ github.ref_name }}" >> $GITHUB_OUTPUT | |
| fi | |
| trigger-build: | |
| needs: setup-vars | |
| uses: vyos/.github/.github/workflows/trigger-rebuild-repo-package.yml@current | |
| with: | |
| branch: ${{ needs.setup-vars.outputs.BRANCH }} | |
| package_name: ${{ needs.setup-vars.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 }} |