mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Update workflows with needed permissions (#5003)
This commit is contained in:
parent
925ae870ba
commit
336abcfbba
3
.github/workflows/auto_labeler_issues.yml
vendored
3
.github/workflows/auto_labeler_issues.yml
vendored
@ -3,6 +3,9 @@ on:
|
||||
issues:
|
||||
types: [opened]
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
|
||||
3
.github/workflows/auto_labeler_pr.yml
vendored
3
.github/workflows/auto_labeler_pr.yml
vendored
@ -2,6 +2,9 @@ name: Auto Labeler - PRs
|
||||
on:
|
||||
pull_request_target:
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
4
.github/workflows/prepare_release.yml
vendored
4
.github/workflows/prepare_release.yml
vendored
@ -7,6 +7,10 @@ on:
|
||||
required: false
|
||||
default: 'auto'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
crowdin_download_translations:
|
||||
needs: pr_stable_bump
|
||||
|
||||
3
.github/workflows/publish_release.yml
vendored
3
.github/workflows/publish_release.yml
vendored
@ -29,6 +29,9 @@ jobs:
|
||||
twine upload dist/*
|
||||
|
||||
pr_dev_bump:
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
needs: release_to_pypi
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user