Skip to content

Commit 282da7b

Browse files
authored
GHA: fetch PRs for update rules (#2186)
* add push pr job Signed-off-by: habibayassin <[email protected]> * fix gha Signed-off-by: habibayassin <[email protected]> * use all commits from db to update Signed-off-by: habibayassin <[email protected]> * fixes Signed-off-by: habibayassin <[email protected]> * condition on master Signed-off-by: habibayassin <[email protected]> * fetch prs Signed-off-by: habibayassin <[email protected]> --------- Signed-off-by: habibayassin <[email protected]>
1 parent 9f46231 commit 282da7b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/github-actions-update-rules.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
steps:
13+
- name: Git prep
14+
run: |
15+
git config --add remote.origin.fetch "+refs/pull/*/head:refs/remotes/origin/pr/*"
16+
git fetch
1317
- name: Check out repository code recursively
1418
uses: actions/checkout@v3
1519
with:

0 commit comments

Comments
 (0)