Skip to content

Workflow Name Upgrade Packages #117

Workflow Name Upgrade Packages

Workflow Name Upgrade Packages #117

Workflow file for this run

# Run on 00:00 every Monday
# Upgrade package-lock.json then git push
#
# > Note: You cannot trigger new workflow runs using the GITHUB_TOKEN
# So the git push in this workflow will not trigger build-deploy.yml
# But we need build-deploy.yml to listen to upgrade.yml succeeded
name: Workflow Name Upgrade Packages
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1' # 00:00 every Monday
# Defining access for the GITHUB_TOKEN scopes (GITHUB_TOKEN used actions/checkout@v3 could git push)
permissions:
contents: write
jobs:
job_id_upgrade_packages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Step Name Upgrade Packages
run: |
./upgrade.sh