Skip to content

Commit 7dedbb6

Browse files
dmjbgithub-advanced-security[bot]jhrozek
authored
Use autoupdate github action to auto update all PRs. (#2958)
* Use autoupdate github action to auto update all PRs. * Potential fix for code scanning alert no. 100: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Co-authored-by: Jakub Hrozek <[email protected]>
1 parent b053720 commit 7dedbb6

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/autoupdate.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: autoupdate
2+
permissions:
3+
contents: read
4+
pull-requests: write
5+
on:
6+
# Update all PRs on merge to main
7+
push:
8+
branches:
9+
- main
10+
jobs:
11+
autoupdate:
12+
name: autoupdate
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: docker://chinthakagodawita/autoupdate-action:v1
16+
env:
17+
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

0 commit comments

Comments
 (0)