mirror of
https://code.forgejo.org/actions/cache.git
synced 2026-02-05 10:26:18 +00:00
Fix workflow permissions and cleanup
This commit is contained in:
parent
b56bb3a202
commit
94056f1871
6 changed files with 45 additions and 30 deletions
9
.github/workflows/codeql.yml
vendored
9
.github/workflows/codeql.yml
vendored
|
|
@ -6,15 +6,14 @@ on:
|
|||
schedule:
|
||||
- cron: '0 19 * * 0'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
jobs:
|
||||
CodeQL-Build:
|
||||
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
# required for all workflows
|
||||
security-events: write
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue