mirror of
https://github.com/ivuorinen/.github.git
synced 2026-02-11 13:46:25 +00:00
fix(ci): top level permissions, env hardening
This commit is contained in:
8
.github/workflows/compress-images.yml
vendored
8
.github/workflows/compress-images.yml
vendored
@@ -3,11 +3,19 @@
|
||||
# Open a Pull Request if any images can be compressed.
|
||||
name: Compress Images on Demand
|
||||
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMAND=false
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "00 23 * * 0"
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
statuses: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
CompressOnDemandOrSchedule:
|
||||
name: calibreapp/image-actions
|
||||
|
||||
Reference in New Issue
Block a user