Skip to content

Commit 0af60d2

Browse files
committed
T8218: Fixed pull request branch fetching issue post Github pullrequest policy update
1 parent 8915932 commit 0af60d2

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,24 @@ name: "Perform CodeQL Analysis"
22

33
on:
44
push:
5-
branches: [ "current", sagitta", "equuleus", "circinus" ]
5+
branches:
6+
- current
7+
- circinus
8+
- sagitta
9+
paths:
10+
- '**'
11+
- '!.github/**'
12+
- '!**/*.md'
613
pull_request_target:
714
# The branches below must be a subset of the branches above
8-
branches: [ "current" ]
15+
branches:
16+
- current
17+
- circinus
18+
- sagitta
19+
paths:
20+
- '**'
21+
- '!.github/**'
22+
- '!**/*.md'
923
schedule:
1024
- cron: '22 10 * * 0'
1125

.github/workflows/trigger-rebuild-repo-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
needs: get_repo_name
2626
uses: vyos/.github/.github/workflows/trigger-rebuild-repo-package.yml@current
2727
with:
28-
branch: ${{ github.ref_name }}
28+
branch: ${{ github.event.pull_request.base.ref }}
2929
package_name: ${{ needs.get_repo_name.outputs.PACKAGE_NAME }}
3030
secrets:
3131
REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }}

0 commit comments

Comments
 (0)