From e88ed56200ad25c27e259d04482ecf4df8769ace Mon Sep 17 00:00:00 2001 From: Yingbo Ma Date: Sun, 22 Nov 2020 15:56:40 -0500 Subject: [PATCH] Add CompatHelper and TagBot --- .github/CompatHelper.yml | 26 ++++++++++++++++++++++++++ .github/workflows/TagBot.yml | 15 +++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 .github/CompatHelper.yml create mode 100644 .github/workflows/TagBot.yml diff --git a/.github/CompatHelper.yml b/.github/CompatHelper.yml new file mode 100644 index 000000000..0243c7062 --- /dev/null +++ b/.github/CompatHelper.yml @@ -0,0 +1,26 @@ +name: CompatHelper + +on: + schedule: + - cron: '00 * * * *' + issues: + types: [opened, reopened] + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + julia-version: [1.2.0] + julia-arch: [x86] + os: [ubuntu-latest] + steps: + - uses: julia-actions/setup-julia@latest + with: + version: ${{ matrix.julia-version }} + - name: Pkg.add("CompatHelper") + run: julia -e 'using Pkg; Pkg.add("CompatHelper")' + - name: CompatHelper.main() + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: julia -e 'using CompatHelper; CompatHelper.main()' diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml new file mode 100644 index 000000000..f49313b66 --- /dev/null +++ b/.github/workflows/TagBot.yml @@ -0,0 +1,15 @@ +name: TagBot +on: + issue_comment: + types: + - created + workflow_dispatch: +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 }} + ssh: ${{ secrets.DOCUMENTER_KEY }}