mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
[CI skip] Configured remaining workflow permissions
Hopefully I did this right? 👀
This commit is contained in:
parent
8dff6dbb86
commit
f0730237e2
8
.github/workflows/auto-approve.yml
vendored
8
.github/workflows/auto-approve.yml
vendored
@ -8,12 +8,14 @@ permissions:
|
|||||||
jobs:
|
jobs:
|
||||||
auto-approve:
|
auto-approve:
|
||||||
|
|
||||||
permissions:
|
|
||||||
pull-requests: write # for hmarr/auto-approve-action to approve PRs
|
|
||||||
name: Auto approve Pull Request
|
name: Auto approve Pull Request
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
## Only run this on the main repo
|
# for hmarr/auto-approve-action to approve PRs
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
|
# Only run this on the main repo
|
||||||
if: github.event.pull_request.head.repo.full_name == 'Slimefun/Slimefun4'
|
if: github.event.pull_request.head.repo.full_name == 'Slimefun/Slimefun4'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
3
.github/workflows/discord-webhook.yml
vendored
3
.github/workflows/discord-webhook.yml
vendored
@ -7,6 +7,9 @@ on:
|
|||||||
- '!src/main/resources/languages/**'
|
- '!src/main/resources/languages/**'
|
||||||
- 'pom.xml'
|
- 'pom.xml'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
report:
|
report:
|
||||||
|
|
||||||
|
4
.github/workflows/duplicates.yml
vendored
4
.github/workflows/duplicates.yml
vendored
@ -4,6 +4,10 @@ on:
|
|||||||
issue_comment:
|
issue_comment:
|
||||||
types: [created]
|
types: [created]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
issues: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
comment:
|
comment:
|
||||||
|
|
||||||
|
4
.github/workflows/label-resolved-issues.yml
vendored
4
.github/workflows/label-resolved-issues.yml
vendored
@ -4,6 +4,10 @@ on:
|
|||||||
issues:
|
issues:
|
||||||
types: [closed]
|
types: [closed]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
issues: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
label:
|
label:
|
||||||
|
|
||||||
|
4
.github/workflows/merge-conflicts.yml
vendored
4
.github/workflows/merge-conflicts.yml
vendored
@ -5,6 +5,10 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
issues: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
validate:
|
validate:
|
||||||
|
|
||||||
|
4
.github/workflows/pr-labels.yml
vendored
4
.github/workflows/pr-labels.yml
vendored
@ -5,6 +5,10 @@ on:
|
|||||||
types:
|
types:
|
||||||
- opened
|
- opened
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
issues: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pr-labeler:
|
pr-labeler:
|
||||||
|
|
||||||
|
3
.github/workflows/translator-webhook.yml
vendored
3
.github/workflows/translator-webhook.yml
vendored
@ -7,6 +7,9 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- 'src/main/resources/languages/en/**.yml'
|
- 'src/main/resources/languages/en/**.yml'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
notify:
|
notify:
|
||||||
|
|
||||||
|
3
.github/workflows/yaml-linter.yml
vendored
3
.github/workflows/yaml-linter.yml
vendored
@ -8,6 +8,9 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linter:
|
linter:
|
||||||
|
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,4 +12,5 @@ dependency-reduced-pom.xml
|
|||||||
.factorypath
|
.factorypath
|
||||||
.project
|
.project
|
||||||
*.iml
|
*.iml
|
||||||
|
*.bak
|
||||||
.DS_Store
|
.DS_Store
|
Loading…
Reference in New Issue
Block a user