From a457fb4fdf98194e6bdccfc6f2976aed62209257 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 5 Jul 2020 16:37:11 +0000 Subject: [PATCH 1/2] [skip ci] Add an auto-updater. --- .github/workflows/update.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/update.yml diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml new file mode 100644 index 0000000..7379cfb --- /dev/null +++ b/.github/workflows/update.yml @@ -0,0 +1,22 @@ +on: + schedule: + - cron: 0 0 * * * + pull_request: + types: [opened, synchronize, reopened, closed] +name: Cron +jobs: + update: + runs-on: ubuntu-latest + steps: + - name: Update packages + uses: technote-space/create-pr-action@v2 + with: + GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }} + EXECUTE_COMMANDS: | + git submodule update --init + git -C yosys-src pull --ff origin master + COMMIT_MESSAGE: 'Update dependencies' + PR_BRANCH_PREFIX: 'update-deps/' + PR_BRANCH_NAME: '${PR_ID}' + PR_TITLE: 'Auto-update dependencies' + AUTO_MERGE_THRESHOLD_DAYS: 1 From c82f995677ede54dff5b685c896d974809c63234 Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 8 Jul 2020 00:30:51 +0000 Subject: [PATCH 2/2] Update dependencies --- yosys-src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yosys-src b/yosys-src index 8c4cb18..000fd08 160000 --- a/yosys-src +++ b/yosys-src @@ -1 +1 @@ -Subproject commit 8c4cb1885b2cb6b7b26d7b9b7113e174c0eefffd +Subproject commit 000fd08198487cd1d36e65e4470f4b0269c23a2b