From ba5e9d4b194a4fc18ae92aa07351e6f643e7925f Mon Sep 17 00:00:00 2001 From: Paul Sztorc Date: Tue, 17 Sep 2024 23:55:44 -0400 Subject: [PATCH] Add nightly job to attempt rebase on Bitcoin core master --- .github/workflows/monitor-upstream.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/monitor-upstream.yml diff --git a/.github/workflows/monitor-upstream.yml b/.github/workflows/monitor-upstream.yml new file mode 100644 index 0000000000000..3054ca2060905 --- /dev/null +++ b/.github/workflows/monitor-upstream.yml @@ -0,0 +1,19 @@ +name: Monitor Bitcoin Core Upstream Branch + +on: + schedule: + - cron: '0 0 * * *' # Runs daily at 00:00 + workflow_dispatch: + +jobs: + check-bitcoin-core: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Attempt rebase on Bitcoin Core master + run: | + git remote add bitcoin-core https://github.com/bitcoin/bitcoin.git + git fetch bitcoin-core master + git rebase bitcoin-core/master