diff options
| author | Daniil Baturin <daniil@baturin.org> | 2026-03-01 18:58:50 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-01 18:58:50 +0000 |
| commit | 3ac661e3d2e8a103b99d7fb7b5a5f074d644a697 (patch) | |
| tree | 00b7203027f7f5139989fa16ca70157ccae7559b | |
| parent | 03dc631d998d5f2b7365bb71f00f8f342886b32e (diff) | |
| parent | 0af60d2e030d236f963b7a4571db6106d09002b6 (diff) | |
| download | vyatta-bash-3ac661e3d2e8a103b99d7fb7b5a5f074d644a697.tar.gz vyatta-bash-3ac661e3d2e8a103b99d7fb7b5a5f074d644a697.zip | |
Merge pull request #21 from kumvijaya/current
T8218: Updated workflows for pullrequest_target policy change
| -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 }} |
