auth-4.8.x: Backport 13679 - Update upload-artifact and download-artifact to version 4 #4547
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# spelling.yml is blocked per https://github.com/check-spelling/check-spelling/security/advisories/GHSA-g86g-chm8-7r2p | |
# spelling2.yml is blocked per https://github.com/check-spelling/check-spelling/security/advisories/GHSA-p8r9-69g4-jwqq | |
name: Spell checking | |
on: | |
push: | |
branches: | |
- "**" | |
tags-ignore: | |
- "**" | |
pull_request: | |
branches: | |
- "**" | |
tags-ignore: | |
- "**" | |
types: | |
- 'opened' | |
- 'reopened' | |
- 'synchronize' | |
jobs: | |
spelling: | |
name: Spell checking | |
permissions: | |
# contents-read is needed to checkout in private repositories | |
contents: read | |
# actions-read is needed (possibly only for private repositories) | |
# to identify the workflow's filename until | |
# https://github.com/actions/runner/issues/853 is fixed | |
actions: read | |
# security-events-write is needed according to the documentation: | |
# https://docs.github.com/en/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github#uploading-a-code-scanning-analysis-with-github-actions | |
security-events: write | |
outputs: | |
followup: ${{ steps.spelling.outputs.followup }} | |
runs-on: ubuntu-latest | |
if: "contains(github.event_name, 'pull_request') || github.event_name == 'push'" | |
concurrency: | |
group: spelling-${{ github.event.pull_request.number || github.ref }} | |
# note: If you use only_check_changed_files, you do not want cancel-in-progress | |
cancel-in-progress: true | |
steps: | |
- name: check-spelling | |
id: spelling | |
uses: check-spelling/[email protected] | |
with: | |
config: .github/actions/spell-check | |
checkout: true | |
spell_check_this: check-spelling/spell-check-this@prerelease | |
post_comment: 0 | |
use_sarif: ${{ (!github.event.pull_request || (github.event.pull_request.head.repo.full_name == github.repository)) && 1 }} | |
extra_dictionaries: | |
cspell:software-terms/src/software-terms.txt | |
cspell:python/src/python/python-lib.txt | |
cspell:node/node.txt | |
cspell:python/src/common/extra.txt | |
cspell:fullstack/fullstack.txt | |
cspell:html/html.txt | |
cspell:aws/aws.txt | |
cspell:npm/npm.txt | |
cspell:cpp/src/stdlib-cpp.txt | |
cspell:python/src/python/python.txt | |
cspell:django/django.txt | |
check_extra_dictionaries: '' |