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:
|
||||
auto-approve:
|
||||
|
||||
permissions:
|
||||
pull-requests: write # for hmarr/auto-approve-action to approve PRs
|
||||
name: Auto approve Pull Request
|
||||
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'
|
||||
|
||||
steps:
|
||||
|
3
.github/workflows/discord-webhook.yml
vendored
3
.github/workflows/discord-webhook.yml
vendored
@ -7,6 +7,9 @@ on:
|
||||
- '!src/main/resources/languages/**'
|
||||
- 'pom.xml'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
report:
|
||||
|
||||
|
4
.github/workflows/duplicates.yml
vendored
4
.github/workflows/duplicates.yml
vendored
@ -4,6 +4,10 @@ on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
comment:
|
||||
|
||||
|
4
.github/workflows/label-resolved-issues.yml
vendored
4
.github/workflows/label-resolved-issues.yml
vendored
@ -4,6 +4,10 @@ on:
|
||||
issues:
|
||||
types: [closed]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
label:
|
||||
|
||||
|
4
.github/workflows/merge-conflicts.yml
vendored
4
.github/workflows/merge-conflicts.yml
vendored
@ -5,6 +5,10 @@ on:
|
||||
branches:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
|
||||
|
4
.github/workflows/pr-labels.yml
vendored
4
.github/workflows/pr-labels.yml
vendored
@ -5,6 +5,10 @@ on:
|
||||
types:
|
||||
- opened
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
pr-labeler:
|
||||
|
||||
|
3
.github/workflows/translator-webhook.yml
vendored
3
.github/workflows/translator-webhook.yml
vendored
@ -7,6 +7,9 @@ on:
|
||||
paths:
|
||||
- 'src/main/resources/languages/en/**.yml'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
notify:
|
||||
|
||||
|
3
.github/workflows/yaml-linter.yml
vendored
3
.github/workflows/yaml-linter.yml
vendored
@ -8,6 +8,9 @@ on:
|
||||
branches:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
linter:
|
||||
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,4 +12,5 @@ dependency-reduced-pom.xml
|
||||
.factorypath
|
||||
.project
|
||||
*.iml
|
||||
*.bak
|
||||
.DS_Store
|
Loading…
Reference in New Issue
Block a user