From 3bd8dce8f048302d22e9aa56056090e5700b4ab4 Mon Sep 17 00:00:00 2001 From: Joshua Gentry Date: Wed, 26 Oct 2022 11:21:47 -0400 Subject: [PATCH] Updated the github workflows for the latest. --- .github/workflows/Documentation.yaml | 2 ++ .github/workflows/TagBot.yaml | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Documentation.yaml b/.github/workflows/Documentation.yaml index c3143a6..382dced 100644 --- a/.github/workflows/Documentation.yaml +++ b/.github/workflows/Documentation.yaml @@ -9,6 +9,8 @@ on: jobs: build: + permissions: + contents: write runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/TagBot.yaml b/.github/workflows/TagBot.yaml index dd911f3..623860f 100644 --- a/.github/workflows/TagBot.yaml +++ b/.github/workflows/TagBot.yaml @@ -1,11 +1,15 @@ name: TagBot on: - schedule: - - cron: 0 0 * * * + 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 }} \ No newline at end of file