From b065ecd2818b28b193f2c6473bbd6d8fcbbb8171 Mon Sep 17 00:00:00 2001 From: samuk Date: Thu, 1 Oct 2026 17:20:17 +0100 Subject: [PATCH] Create sync_upstream.yml --- .github/workflows/sync_upstream.yml | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/sync_upstream.yml diff --git a/.github/workflows/sync_upstream.yml b/.github/workflows/sync_upstream.yml new file mode 100644 index 0000000..927aa6b --- /dev/null +++ b/.github/workflows/sync_upstream.yml @@ -0,0 +1,30 @@ +name: Sync links from meshcore-ita + +on: + schedule: + - cron: "0 6 * * 1" + workflow_dispatch: + +permissions: + contents: write + pull-requests: write + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + + - run: python .github/scripts/sync_upstream.py + + - uses: peter-evans/create-pull-request@v7 + with: + branch: bot/sync-meshcore-ita + commit-message: "Add new entries from meshcore-ita/awesome-meshcore" + title: "Add new entries from meshcore-ita/awesome-meshcore" + body-path: /tmp/pr_body.md + delete-branch: true