mirror of
https://github.com/ivuorinen/cinode-api.git
synced 2026-01-26 11:14:01 +00:00
fix(ci): permissions
This commit is contained in:
6
.github/workflows/pr-lint.yml
vendored
6
.github/workflows/pr-lint.yml
vendored
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
||||||
name: PR Lint
|
name: PR Lint
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@@ -11,3 +12,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
SuperLinter:
|
SuperLinter:
|
||||||
uses: ivuorinen/.github/.github/workflows/pr-lint.yml@main
|
uses: ivuorinen/.github/.github/workflows/pr-lint.yml@main
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: read
|
||||||
|
statuses: write
|
||||||
|
|
||||||
|
|||||||
7
.github/workflows/release-drafter.yml
vendored
7
.github/workflows/release-drafter.yml
vendored
@@ -1,10 +1,15 @@
|
|||||||
---
|
---
|
||||||
|
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
||||||
name: Release Drafter
|
name: Release Drafter
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Draft:
|
Draft:
|
||||||
uses: ivuorinen/.github/.github/workflows/sync-labels.yml@main
|
uses: ivuorinen/.github/.github/workflows/sync-labels.yml@main
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
statuses: write
|
||||||
|
packages: read
|
||||||
|
|
||||||
|
|||||||
9
.github/workflows/stale.yml
vendored
9
.github/workflows/stale.yml
vendored
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
||||||
name: Stale
|
name: Stale
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 8 * * *'
|
- cron: '0 8 * * *'
|
||||||
@@ -10,8 +10,11 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
|
uses: ivuorinen/.github/.github/workflows/stale.yml@main
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write # only for delete-branch option
|
||||||
issues: write
|
issues: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
uses: ivuorinen/.github/.github/workflows/stale.yml@main
|
statuses: read
|
||||||
|
packages: read
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/static.yml
vendored
2
.github/workflows/static.yml
vendored
@@ -1,3 +1,5 @@
|
|||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
||||||
# Simple workflow for deploying static content to GitHub Pages
|
# Simple workflow for deploying static content to GitHub Pages
|
||||||
name: Deploy static content to Pages
|
name: Deploy static content to Pages
|
||||||
|
|
||||||
|
|||||||
9
.github/workflows/sync-labels.yml
vendored
9
.github/workflows/sync-labels.yml
vendored
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
||||||
name: Sync labels
|
name: Sync labels
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
# yamllint disable-line rule:truthy
|
||||||
@@ -13,9 +14,11 @@ on:
|
|||||||
workflow_call:
|
workflow_call:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
|
||||||
issues: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
SyncLabels:
|
SyncLabels:
|
||||||
uses: ivuorinen/.github/.github/workflows/sync-labels.yml@main
|
uses: ivuorinen/.github/.github/workflows/sync-labels.yml@main
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
contents: read
|
||||||
|
statuses: read
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user