mirror of
https://github.com/tj-actions/changed-files
synced 2024-12-17 13:47:20 +00:00
chore: update top level workflow permissions (#1848)
This commit is contained in:
parent
9c39b0b6e9
commit
a57f4dcc81
10 changed files with 40 additions and 4 deletions
5
.github/workflows/codacy-analysis.yml
vendored
5
.github/workflows/codacy-analysis.yml
vendored
|
@ -17,6 +17,11 @@ on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '15 16 * * 2'
|
- cron: '15 16 * * 2'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
contents: read
|
||||||
|
security-events: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
codacy-security-scan:
|
codacy-security-scan:
|
||||||
# Cancel other workflows that are running for the same branch
|
# Cancel other workflows that are running for the same branch
|
||||||
|
|
5
.github/workflows/codeql.yml
vendored
5
.github/workflows/codeql.yml
vendored
|
@ -20,6 +20,11 @@ on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '44 20 * * 0'
|
- cron: '44 20 * * 0'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
contents: read
|
||||||
|
security-events: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze:
|
||||||
name: Analyze
|
name: Analyze
|
||||||
|
|
4
.github/workflows/issue-comment-test.yml
vendored
4
.github/workflows/issue-comment-test.yml
vendored
|
@ -1,4 +1,8 @@
|
||||||
name: Issue Comment Test
|
name: Issue Comment Test
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
issue_comment:
|
issue_comment:
|
||||||
|
|
||||||
|
|
3
.github/workflows/manual-test.yml
vendored
3
.github/workflows/manual-test.yml
vendored
|
@ -1,5 +1,8 @@
|
||||||
name: Manual Test
|
name: Manual Test
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
3
.github/workflows/matrix-test.yml
vendored
3
.github/workflows/matrix-test.yml
vendored
|
@ -1,5 +1,8 @@
|
||||||
name: Matrix Test
|
name: Matrix Test
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
6
.github/workflows/multi-job-test.yml
vendored
6
.github/workflows/multi-job-test.yml
vendored
|
@ -1,5 +1,8 @@
|
||||||
name: Multi Job Test
|
name: Multi Job Test
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
@ -8,9 +11,6 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- "**"
|
- "**"
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
changed-files:
|
changed-files:
|
||||||
name: Get changed files
|
name: Get changed files
|
||||||
|
|
7
.github/workflows/sync-release-version.yml
vendored
7
.github/workflows/sync-release-version.yml
vendored
|
@ -1,4 +1,9 @@
|
||||||
name: Update release version.
|
name: Update release version
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -1,5 +1,9 @@
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
|
4
.github/workflows/update-readme.yml
vendored
4
.github/workflows/update-readme.yml
vendored
|
@ -1,5 +1,9 @@
|
||||||
name: Format README.md
|
name: Format README.md
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
|
3
.github/workflows/workflow-run-test.yml
vendored
3
.github/workflows/workflow-run-test.yml
vendored
|
@ -4,6 +4,9 @@ on:
|
||||||
workflows: [Matrix Test]
|
workflows: [Matrix Test]
|
||||||
types: [completed]
|
types: [completed]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
on-success:
|
on-success:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue