/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/update-jquery-validate.yml
57 строк
2 KB
dependabot[bot]
[main] (deps): Bump actions/checkout from 6.0.3 to 7.0.0 (#67317)
19 июн 2026, 17:36
Не верифицирован
19 июн 2026, 17:36
1a72384
Код
Авторство
О чём код?
name: Update jquery-validation on: schedule: - cron: '0 0 1 * *' # Run on the first day of the month workflow_dispatch: # Allow manual runs permissions: contents: write issues: write pull-requests: write jobs: update-jquery-validate: runs-on: ubuntu-latest if: github.event_name == 'workflow_dispatch' || github.repository_owner == 'dotnet' steps: - name: Checkout code uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Setup Node.js uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: '20.x' cache: 'npm' cache-dependency-path: src/Mvc/build/package-lock.json - name: Set RepoRoot run: echo "RepoRoot=$(pwd)" >> $GITHUB_ENV - name: Update dependencies working-directory: ${{ env.RepoRoot }}/src/Mvc/build run: | npm install --no-lockfile npm run build npm run update-identity-ui-scripts echo "JQUERY_VALIDATE_VERSION=$(npm ls jquery-validation --json | jq -r '.dependencies["jquery-validation"].version')" >> $GITHUB_ENV - name: Update script tags working-directory: ${{ env.RepoRoot }}/src/Identity/UI run: node update-jquery-validate.mjs - name: Create Pull Request uses: dotnet/actions-create-pull-request@2b011faafdcbc9ceb11414d64d0573f37c774b04 # v4.2.3 with: token: ${{ secrets.GITHUB_TOKEN }} commit-message: Update jquery.validate to ${{ env.JQUERY_VALIDATE_VERSION }} title: '[Templates][Identity] Update jquery-validation to ${{ env.JQUERY_VALIDATE_VERSION }}' body: | Updates the jquery-validation scripts to ${{ env.JQUERY_VALIDATE_VERSION }} branch: update-jquery-validate-to-${{ env.JQUERY_VALIDATE_VERSION }} paths: | **/jquery.validate.js **/jquery.validate.min.js **/*.cshtml src/Identity/UI/jquery-validate-versions.json