Updatecli major dependency updates #6
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: Updatecli major dependency updates | |
on: | |
workflow_dispatch: | |
schedule: | |
# ┌───────────── minute (0 - 59) | |
# │ ┌───────────── hour (0 - 23) | |
# │ │ ┌───────────── day of the month (1 - 31) | |
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC) | |
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT) | |
# │ │ │ │ │ | |
# │ │ │ │ │ | |
# │ │ │ │ │ | |
- cron: 0 15 1 * * # The first of each month at 10am EST | |
permissions: {} | |
jobs: | |
updatecli: | |
runs-on: ubuntu-latest | |
permissions: | |
# required to write to the repo | |
contents: write | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: configure git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
- name: Get current date | |
id: date | |
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT | |
- name: install updatecli in the runner | |
uses: updatecli/updatecli-action@v2 | |
- name: run updatecli in diff mode | |
run: | | |
updatecli diff --config .github/updatecli/manifest-major.yaml | |
env: | |
GITHUB_TOKEN: ${{ github.token }} |