ci: limit to job scope (#12024)

This commit is contained in:
Nikolay Vitkov 2024-02-29 10:03:15 +01:00 committed by GitHub
parent 355835bd63
commit bec77d61e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,12 +6,13 @@ on:
- cron: '0 6 * * *'
workflow_dispatch:
permissions:
actions: write
permissions: read-all
jobs:
clear-cache:
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- name: Clear Firefox cache
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1