From 2faa49b03e01862ee2e495374ddf9106eea85f1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Fern=C3=A1ndez?= Date: Thu, 9 Sep 2021 00:17:38 +0200 Subject: [PATCH] Mask GITHUB_TOKEN env and reduce dependabot frequency --- .github/dependabot.yml | 2 +- .github/workflows/maintenance.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0d7dcf0..c13b598 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,5 +4,5 @@ updates: - package-ecosystem: github-actions directory: '/' schedule: - interval: daily + interval: weekly time: '00:00' diff --git a/.github/workflows/maintenance.yml b/.github/workflows/maintenance.yml index 67a5624..2e60a70 100644 --- a/.github/workflows/maintenance.yml +++ b/.github/workflows/maintenance.yml @@ -74,8 +74,8 @@ jobs: - name: Clone repository - uses: actions/checkout@v2.3.4 - - name: Set correct permissions - run: chmod +x delete_workflows.sh + - name: Prepare environment + run: chmod +x delete_workflows.sh && echo "::add-mask::${GITHUB_TOKEN}" working-directory: ./maintenance - name: Run deletion script 🗑 @@ -102,8 +102,8 @@ jobs: - name: Clone repository - uses: actions/checkout@v2.3.4 - - name: Set correct permissions - run: chmod +x delete_ghcr_dangling_images.sh + - name: Prepare environment + run: chmod +x delete_ghcr_dangling_images.sh && echo "::add-mask::${GITHUB_TOKEN}" working-directory: ./maintenance - name: Run deletion script 🗑