Skip to content

Commit

Permalink
ci: Drop workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
yiannistri committed Oct 2, 2023
1 parent 7ad5e00 commit 2030b5e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/repostats.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: repo-stats

on:
schedule:
# Run this once per day, towards the end of the day for keeping the most
# recent data point most meaningful (hours are interpreted in UTC).
- cron: "0 23 * * *"
workflow_dispatch: # Allow for running this manually.

permissions:
contents: none

jobs:
j1:
name: repostats-for-weave-gitops
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- main

permissions:
contents: none

jobs:
trigger-enterprise-workflow:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 2030b5e

Please sign in to comment.