/
aprogrammer
/
dotnet-docs
Обзор
Документация
Войти
/
aprogrammer
/
dotnet-docs
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/version-sweep.yml
46 строк
2 KB
dependabot[bot]
Bump step-security/harden-runner from 2.10.1 to 2.10.2 (#43646)
20 ноя 2024, 15:09
Не верифицирован
20 ноя 2024, 15:09
177df21
Код
Авторство
О чём код?
name: "target supported version" on: # Triggers the workflow on push or pull request events but only for the default branch schedule: - cron: "0 0 1 * *" workflow_dispatch: inputs: reason: description: "The reason for running the workflow" required: true default: "Manual run" support: description: "The support level to target (STS, LTS, or Preview)." required: true default: "STS" # A workflow run is made up of one or more jobs that can run sequentially or in parallel permissions: contents: read jobs: # This workflow contains a single job called "build" version-sweep: # The type of runner that the job will run on runs-on: ubuntu-latest permissions: issues: write pull-requests: write # Steps represent a sequence of tasks that will be executed as part of the job steps: # Start the .NET version updater action # A composite of the .NET Version Sweeper and the .NET Upgrade Assistant - name: Harden Runner uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 with: egress-policy: audit - name: .NET version updater id: dotnet-version-updater uses: dotnet/docs-tools/actions/dotnet-version-updater@main with: support: ${{ github.event.inputs.support }} token: ${{ secrets.GITHUB_TOKEN }}