ci: add token for preview [skip ci]

This commit is contained in:
lowlighter
2021-11-04 18:38:10 -04:00
parent 07e3813826
commit e147d2ac32

View File

@@ -2,7 +2,7 @@ name: Maintenance 🧰
on: on:
schedule: schedule:
- cron: "0 0 * * *" - cron: "30 2 * * *"
workflow_dispatch: workflow_dispatch:
jobs: jobs:
@@ -20,7 +20,7 @@ jobs:
run: ./delete_workflows.sh lowlighter/metrics run: ./delete_workflows.sh lowlighter/metrics
working-directory: ./.github/workflows/maintenance working-directory: ./.github/workflows/maintenance
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ github.token }}
dangling_images_removal: dangling_images_removal:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -43,4 +43,4 @@ jobs:
run: ./delete_ghcr_dangling_images.sh ${{ matrix.container }} run: ./delete_ghcr_dangling_images.sh ${{ matrix.container }}
working-directory: ./.github/workflows/maintenance working-directory: ./.github/workflows/maintenance
env: env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} GITHUB_TOKEN: ${{ github.token }}