From 6808ddedec59e8e9568e68c3beb4838598a20959 Mon Sep 17 00:00:00 2001 From: Jonas Klasen Date: Thu, 23 Apr 2026 18:06:40 +0200 Subject: [PATCH] Add GitHub workflows for CompatHelper and TagBot This commit introduces two new GitHub Actions workflows: CompatHelper, which automates compatibility updates on a schedule, and TagBot, which manages tagging based on issue comments and manual triggers. Both workflows are configured to run on Ubuntu and utilize GitHub tokens for authentication. --- .github/workflows/CompatHelper.yml | 17 +++++++++++++++++ .github/workflows/TagBot.yml | 22 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 .github/workflows/CompatHelper.yml create mode 100644 .github/workflows/TagBot.yml diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml new file mode 100644 index 0000000..a8fdf41 --- /dev/null +++ b/.github/workflows/CompatHelper.yml @@ -0,0 +1,17 @@ +name: CompatHelper +on: + schedule: + - cron: "0 0 * * *" + workflow_dispatch: +permissions: + contents: write + pull-requests: write +jobs: + CompatHelper: + runs-on: ubuntu-latest + steps: + - name: CompatHelper.jl + uses: julia-actions/CompatHelper@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COMPATHELPER_PRIV: "" diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml new file mode 100644 index 0000000..dfd91f9 --- /dev/null +++ b/.github/workflows/TagBot.yml @@ -0,0 +1,22 @@ +name: TagBot +on: + issue_comment: + types: + - created + workflow_dispatch: + inputs: + lookback: + default: "3" +permissions: + actions: read + contents: write + issues: read + pull-requests: read +jobs: + TagBot: + if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' + runs-on: ubuntu-latest + steps: + - uses: JuliaRegistries/TagBot@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }}