Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

Commit

Permalink
Mask GITHUB_TOKEN env and reduce dependabot frequency
Browse files Browse the repository at this point in the history
  • Loading branch information
ferferga committed Sep 8, 2021
1 parent 15cbef2 commit cf313d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ updates:
- package-ecosystem: github-actions
directory: '/'
schedule:
interval: daily
interval: weekly
time: '00:00'
10 changes: 6 additions & 4 deletions .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ jobs:
- name: Clone repository
- uses: actions/checkout@v2.3.4

- name: Set correct permissions
run: chmod +x delete_workflows.sh
# The 'echo' command masks the environment variable
- name: Prepare environment
run: chmod +x delete_workflows.sh && echo "::add-mask::${GITHUB_TOKEN}"
working-directory: ./maintenance

- name: Run deletion script 🗑
Expand All @@ -102,8 +103,9 @@ jobs:
- name: Clone repository
- uses: actions/checkout@v2.3.4

- name: Set correct permissions
run: chmod +x delete_ghcr_dangling_images.sh
# The 'echo' command masks the environment variable
- name: Prepare environment
run: chmod +x delete_ghcr_dangling_images.sh && echo "::add-mask::${GITHUB_TOKEN}"
working-directory: ./maintenance

- name: Run deletion script 🗑
Expand Down

0 comments on commit cf313d3

Please sign in to comment.