diff options
| author | kumvijaya <kumvijaya@gmail.com> | 2026-03-01 16:14:30 +0530 |
|---|---|---|
| committer | kumvijaya <kumvijaya@gmail.com> | 2026-03-01 16:14:30 +0530 |
| commit | 0af60d2e030d236f963b7a4571db6106d09002b6 (patch) | |
| tree | 00b7203027f7f5139989fa16ca70157ccae7559b | |
| parent | 8915932af9a7bbdd36a93a53e69fd56e4d402b7e (diff) | |
| download | vyatta-bash-0af60d2e030d236f963b7a4571db6106d09002b6.tar.gz vyatta-bash-0af60d2e030d236f963b7a4571db6106d09002b6.zip | |
T8218: Fixed pull request branch fetching issue post Github pullrequest policy update
| -rw-r--r-- | .github/workflows/codeql.yml | 18 | ||||
| -rw-r--r-- | .github/workflows/trigger-rebuild-repo-package.yml | 2 |
2 files changed, 17 insertions, 3 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 432564a..77c7938 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,10 +2,24 @@ name: "Perform CodeQL Analysis" on: push: - branches: [ "current", sagitta", "equuleus", "circinus" ] + branches: + - current + - circinus + - sagitta + paths: + - '**' + - '!.github/**' + - '!**/*.md' pull_request_target: # The branches below must be a subset of the branches above - branches: [ "current" ] + branches: + - current + - circinus + - sagitta + paths: + - '**' + - '!.github/**' + - '!**/*.md' schedule: - cron: '22 10 * * 0' diff --git a/.github/workflows/trigger-rebuild-repo-package.yml b/.github/workflows/trigger-rebuild-repo-package.yml index 9d630bc..e26669b 100644 --- a/.github/workflows/trigger-rebuild-repo-package.yml +++ b/.github/workflows/trigger-rebuild-repo-package.yml @@ -25,7 +25,7 @@ jobs: needs: get_repo_name uses: vyos/.github/.github/workflows/trigger-rebuild-repo-package.yml@current with: - branch: ${{ github.ref_name }} + branch: ${{ github.event.pull_request.base.ref }} package_name: ${{ needs.get_repo_name.outputs.PACKAGE_NAME }} secrets: REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }} |
