diff --git a/.github/workflows/graphs.yml b/.github/workflows/graphs.yml index 5f3e6cd9..0e3059f6 100644 --- a/.github/workflows/graphs.yml +++ b/.github/workflows/graphs.yml @@ -20,13 +20,13 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v2.3.3 with: ref: ${{ github.head_ref }} - token: ${{ secrets.GH_PAT || github.token }} + token: ${{ secrets.GH_PAT }} - name: Generate graphs uses: upptime/uptime-monitor@v1.29.0 with: command: "graphs" env: - GH_PAT: ${{ secrets.GH_PAT || github.token }} + GH_PAT: ${{ secrets.GH_PAT }} diff --git a/.github/workflows/response-time.yml b/.github/workflows/response-time.yml index 8ae1bdca..8fd7a8f9 100644 --- a/.github/workflows/response-time.yml +++ b/.github/workflows/response-time.yml @@ -20,14 +20,14 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v2.3.3 with: ref: ${{ github.head_ref }} - token: ${{ secrets.GH_PAT || github.token }} + token: ${{ secrets.GH_PAT }} - name: Update response time uses: upptime/uptime-monitor@v1.29.0 with: command: "response-time" env: - GH_PAT: ${{ secrets.GH_PAT || github.token }} + GH_PAT: ${{ secrets.GH_PAT }} SECRETS_CONTEXT: ${{ toJson(secrets) }} diff --git a/.github/workflows/setup.yml b/.github/workflows/setup.yml index c73d36ab..c70f19dc 100644 --- a/.github/workflows/setup.yml +++ b/.github/workflows/setup.yml @@ -21,45 +21,44 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v2.3.3 with: ref: ${{ github.head_ref }} - token: ${{ secrets.GH_PAT || github.token }} + token: ${{ secrets.GH_PAT }} - name: Update template uses: upptime/uptime-monitor@v1.29.0 with: command: "update-template" env: - GH_PAT: ${{ secrets.GH_PAT || github.token }} + GH_PAT: ${{ secrets.GH_PAT }} - name: Update response time uses: upptime/uptime-monitor@v1.29.0 with: command: "response-time" env: - GH_PAT: ${{ secrets.GH_PAT || github.token }} + GH_PAT: ${{ secrets.GH_PAT }} SECRETS_CONTEXT: ${{ toJson(secrets) }} - name: Update summary in README uses: upptime/uptime-monitor@v1.29.0 with: command: "readme" env: - GH_PAT: ${{ secrets.GH_PAT || github.token }} + GH_PAT: ${{ secrets.GH_PAT }} - name: Generate graphs uses: benc-uk/workflow-dispatch@v1 with: workflow: Graphs CI - token: ${{ secrets.GH_PAT || github.token }} + token: ${{ secrets.GH_PAT }} - name: Generate site uses: upptime/uptime-monitor@v1.29.0 with: command: "site" env: - GH_PAT: ${{ secrets.GH_PAT || github.token }} + GH_PAT: ${{ secrets.GH_PAT }} - uses: peaceiris/actions-gh-pages@v3.7.3 name: GitHub Pages Deploy with: - github_token: ${{ secrets.GH_PAT || github.token }} + github_token: ${{ secrets.GH_PAT }} publish_dir: "site/status-page/__sapper__/export/" - force_orphan: "false" user_name: "Upptime Bot" user_email: "73812536+upptime-bot@users.noreply.github.com" diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index e17e6da0..3f01929e 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -21,21 +21,20 @@ jobs: if: "!contains(github.event.head_commit.message, '[skip ci]')" steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v2.3.3 with: ref: ${{ github.head_ref }} - token: ${{ secrets.GH_PAT || github.token }} + token: ${{ secrets.GH_PAT }} - name: Generate site uses: upptime/uptime-monitor@v1.29.0 with: command: "site" env: - GH_PAT: ${{ secrets.GH_PAT || github.token }} + GH_PAT: ${{ secrets.GH_PAT }} - uses: peaceiris/actions-gh-pages@v3.7.3 name: GitHub Pages Deploy with: - github_token: ${{ secrets.GH_PAT || github.token }} + github_token: ${{ secrets.GH_PAT }} publish_dir: "site/status-page/__sapper__/export/" - force_orphan: "false" user_name: "Upptime Bot" user_email: "73812536+upptime-bot@users.noreply.github.com" diff --git a/.github/workflows/summary.yml b/.github/workflows/summary.yml index 7ab91080..d61e615f 100644 --- a/.github/workflows/summary.yml +++ b/.github/workflows/summary.yml @@ -20,13 +20,13 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v2.3.3 with: ref: ${{ github.head_ref }} - token: ${{ secrets.GH_PAT || github.token }} + token: ${{ secrets.GH_PAT }} - name: Update summary in README uses: upptime/uptime-monitor@v1.29.0 with: command: "readme" env: - GH_PAT: ${{ secrets.GH_PAT || github.token }} + GH_PAT: ${{ secrets.GH_PAT }} diff --git a/.github/workflows/update-template.yml b/.github/workflows/update-template.yml index 6c20aad8..1ed2e56a 100644 --- a/.github/workflows/update-template.yml +++ b/.github/workflows/update-template.yml @@ -20,13 +20,13 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v2.3.3 with: ref: ${{ github.head_ref }} - token: ${{ secrets.GH_PAT || github.token }} + token: ${{ secrets.GH_PAT }} - name: Update template uses: upptime/uptime-monitor@master with: command: "update-template" env: - GH_PAT: ${{ secrets.GH_PAT || github.token }} + GH_PAT: ${{ secrets.GH_PAT }} diff --git a/.github/workflows/updates.yml b/.github/workflows/updates.yml index 02c84c3c..6cf5b0b9 100644 --- a/.github/workflows/updates.yml +++ b/.github/workflows/updates.yml @@ -20,11 +20,11 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v2.3.3 with: ref: ${{ github.head_ref }} - token: ${{ secrets.GH_PAT || github.token }} + token: ${{ secrets.GH_PAT }} - name: Update code uses: upptime/updates@master env: - GH_PAT: ${{ secrets.GH_PAT || github.token }} + GH_PAT: ${{ secrets.GH_PAT }} diff --git a/.github/workflows/uptime.yml b/.github/workflows/uptime.yml index 71190b9f..cfe9f959 100644 --- a/.github/workflows/uptime.yml +++ b/.github/workflows/uptime.yml @@ -20,14 +20,14 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v2.3.3 with: ref: ${{ github.head_ref }} - token: ${{ secrets.GH_PAT || github.token }} + token: ${{ secrets.GH_PAT }} - name: Check endpoint status uses: upptime/uptime-monitor@v1.29.0 with: command: "update" env: - GH_PAT: ${{ secrets.GH_PAT || github.token }} + GH_PAT: ${{ secrets.GH_PAT }} SECRETS_CONTEXT: ${{ toJson(secrets) }} diff --git a/.templaterc.json b/.templaterc.json deleted file mode 100644 index 3c6c2a11..00000000 --- a/.templaterc.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "files": [".github/**/*"] -}