Skip to content

Commit

Permalink
[skip ci] Add an auto-updater.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed Jul 8, 2020
1 parent c14ba69 commit abb8d5a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
on: push
name: CI
name: Build & upload
jobs:
build:
if: "!contains(github.event.head_commit.message, 'skip ci')"
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on:
schedule:
- cron: '* * * * 0'
name: Auto-update
jobs:
autoupdate:
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: true
- name: Update upstream code
run: |
git -C yosys-src pull --ff-only origin master
- name: Create/update pull request
uses: peter-evans/create-pull-request@v2.8.1
with:
token: ${{ secrets.PUSH_TOKEN }}
commit-message: 'Update upstream code'
title: 'Auto-update'
labels: automerge
branch: update-deps

0 comments on commit abb8d5a

Please sign in to comment.