mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-09 02:42:30 -05:00
Update workflow versions (#5789)
* Update auto_labeler_issues.yml * Update auto_labeler_pr.yml * Update codeql-analysis.yml * Update crowdin_upload_strings.yml * Update lint_python.yaml * Update prepare_release.yml * Update publish_release.yml * Update tests.yml * Update for breaking change in actions/github-script@v5 Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
4
.github/workflows/auto_labeler_issues.yml
vendored
4
.github/workflows/auto_labeler_issues.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Apply Triage Label
|
||||
uses: actions/github-script@v3
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
script: |
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
console.log('Issue already has Status label, skipping...');
|
||||
return;
|
||||
}
|
||||
github.issues.addLabels({
|
||||
github.rest.issues.addLabels({
|
||||
issue_number: context.issue.number,
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
|
||||
Reference in New Issue
Block a user