1
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:
TheBusyBiscuit 2022-07-12 15:05:15 +02:00
parent 8dff6dbb86
commit f0730237e2
9 changed files with 31 additions and 3 deletions

View File

@ -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:

View File

@ -7,6 +7,9 @@ on:
- '!src/main/resources/languages/**' - '!src/main/resources/languages/**'
- 'pom.xml' - 'pom.xml'
permissions:
contents: read
jobs: jobs:
report: report:

View File

@ -4,6 +4,10 @@ on:
issue_comment: issue_comment:
types: [created] types: [created]
permissions:
contents: read
issues: write
jobs: jobs:
comment: comment:

View File

@ -4,6 +4,10 @@ on:
issues: issues:
types: [closed] types: [closed]
permissions:
contents: read
issues: write
jobs: jobs:
label: label:

View File

@ -5,6 +5,10 @@ on:
branches: branches:
- master - master
permissions:
contents: read
issues: write
jobs: jobs:
validate: validate:

View File

@ -5,6 +5,10 @@ on:
types: types:
- opened - opened
permissions:
contents: read
issues: write
jobs: jobs:
pr-labeler: pr-labeler:

View File

@ -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:

View File

@ -8,6 +8,9 @@ on:
branches: branches:
- master - master
permissions:
contents: read
jobs: jobs:
linter: linter:

1
.gitignore vendored
View File

@ -12,4 +12,5 @@ dependency-reduced-pom.xml
.factorypath .factorypath
.project .project
*.iml *.iml
*.bak
.DS_Store .DS_Store