diff --git a/.github/workflows/CompatHelper.yaml b/.github/workflows/CompatHelper.yaml new file mode 100644 index 0000000..ca0a29b --- /dev/null +++ b/.github/workflows/CompatHelper.yaml @@ -0,0 +1,41 @@ +name: CompatHelper + +on: + push: + branches: + - main + schedule: + - cron: '0 4 * * *' # Daily at 4 AM + +jobs: + CompatHelper: + runs-on: ${{ matrix.os }} + strategy: + matrix: + julia-version: + - '1' + arch: + - x86 + os: + - ubuntu-latest + steps: + - uses: julia-actions/setup-julia@latest + with: + version: ${{ matrix.julia-version }} + arch: ${{ matrix.arch }} + - name: "Install CompatHelper" + run: | + import Pkg + name = "CompatHelper" + uuid = "aa819f21-2bde-4658-8897-bab36330d9b7" + version = "3" + Pkg.add(; name, uuid, version) + shell: julia --color=yes {0} + - name: "Run CompatHelper" + run: | + import CompatHelper + CompatHelper.main() + shell: julia --color=yes {0} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} diff --git a/.github/workflows/TagBot.yaml b/.github/workflows/TagBot.yaml new file mode 100644 index 0000000..f3a7fd7 --- /dev/null +++ b/.github/workflows/TagBot.yaml @@ -0,0 +1,16 @@ +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 }}