3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2024-12-16 19:27:39 +00:00

chore: update top level workflow permissions (#1848)

This commit is contained in:
Tonye Jack 2024-01-13 00:31:45 -07:00 committed by GitHub
parent 9c39b0b6e9
commit a57f4dcc81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 40 additions and 4 deletions

View file

@ -17,6 +17,11 @@ on:
schedule:
- cron: '15 16 * * 2'
permissions:
actions: read
contents: read
security-events: write
jobs:
codacy-security-scan:
# Cancel other workflows that are running for the same branch

View file

@ -20,6 +20,11 @@ on:
schedule:
- cron: '44 20 * * 0'
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: Analyze

View file

@ -1,4 +1,8 @@
name: Issue Comment Test
permissions:
contents: read
on:
issue_comment:

View file

@ -1,5 +1,8 @@
name: Manual Test
permissions:
contents: read
on:
workflow_dispatch:

View file

@ -1,5 +1,8 @@
name: Matrix Test
permissions:
contents: read
on:
workflow_dispatch:
pull_request:

View file

@ -1,5 +1,8 @@
name: Multi Job Test
permissions:
contents: read
on:
push:
branches:
@ -8,9 +11,6 @@ on:
branches:
- "**"
permissions:
contents: read
jobs:
changed-files:
name: Get changed files

View file

@ -1,4 +1,9 @@
name: Update release version.
name: Update release version
permissions:
contents: read
pull-requests: write
on:
release:
types: [published]

View file

@ -1,5 +1,9 @@
name: CI
permissions:
contents: read
pull-requests: write
on:
push:
branches:

View file

@ -1,5 +1,9 @@
name: Format README.md
permissions:
contents: read
pull-requests: write
on:
push:
branches:

View file

@ -4,6 +4,9 @@ on:
workflows: [Matrix Test]
types: [completed]
permissions:
contents: read
jobs:
on-success:
runs-on: ubuntu-latest