Upgrade dependencies #191
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
name: Upgrade dependencies | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 10 * * WED" | |
permissions: | |
contents: write | |
deployments: read | |
pull-requests: write | |
statuses: write | |
jobs: | |
upgrade: | |
name: Upgrade dependencies | |
runs-on: ubuntu-latest | |
continue-on-error: true # we want the PR to popup even if sth goes wrong | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 | |
- name: Use Node.js | |
uses: ./.github/actions/setup-node | |
- name: Upgrade dependencies | |
run: | | |
yarn --frozen-lockfile --ignore-scripts | |
yarn talend-upgrade-deps --ignore-scripts | |
yarn talend-upgrade-deps --scope=@talend --latest --ignore-scripts | |
yarn talend-upgrade-deps --latest --dry > dependencies-latest.txt | |
git add dependencies-latest.txt | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 #v5.0.2 | |
with: | |
reviewers: "@Talend/frontend-admins" | |
commit-message: "chore: upgrade dependencies" | |
title: "chore: upgrade dependencies" | |
body: "Upgrade dependencies using `talend-scripts upgrade:deps`" | |
branch: ci/chore/upgrade-dependencies | |
token: ${{ secrets.GITHUB_TOKEN }} |