mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 14:27:27 -08:00
Use tgymnich/fork-sync to create PR from upstream merge
Should be able to create upstream to main merge PR. Uses https://github.com/marketplace/actions/fork-sync for creating PR Uses octokit , e.g. https://octokit.github.io/rest.js/v19#repos-get Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
This commit is contained in:
parent
f1986bc584
commit
9730908c2b
17
.github/workflows/sync-fork.yml
vendored
Normal file
17
.github/workflows/sync-fork.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
name: sync fork with upstream
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '11 8 * * 1' # 8:11 UTC on Monday
|
||||||
|
|
||||||
|
workflow_dispatch: # for manual testing
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
sync-fork-pr:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: tgymnich/fork-sync@v1.7
|
||||||
|
with:
|
||||||
|
owner: grafana
|
||||||
|
base: main
|
||||||
|
head: main
|
Loading…
Reference in a new issue