Skip to content

Commit

Permalink
Merge pull request confidential-containers#34 from spotlesstofu/auto-…
Browse files Browse the repository at this point in the history
…sync

github: add workflow sync-fork
  • Loading branch information
spotlesstofu authored Aug 19, 2024
2 parents 8f52c15 + 00cda85 commit f036930
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/sync-fork.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: sync-fork
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch: { }
jobs:
sync:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- run: gh repo sync $REPOSITORY -b $BRANCH_NAME
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY: ${{ github.repository }}
BRANCH_NAME: ${{ github.ref_name }}

0 comments on commit f036930

Please sign in to comment.