Wolfictl Update From Release Monitor #6822
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: Wolfictl Update From Release Monitor | |
on: | |
workflow_dispatch: | |
# Triggers the workflow every hour | |
schedule: | |
- cron: "0 * * * *" | |
permissions: | |
contents: read | |
id-token: write | |
env: | |
GIT_AUTHOR_NAME: wolfi-bot | |
GIT_AUTHOR_EMAIL: 121097084+wolfi-bot@users.noreply.github.com | |
jobs: | |
update: | |
name: Wolfictl Update | |
if: github.repository == 'wolfi-dev/os' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- uses: octo-sts/action@6177b4481c00308b3839969c3eca88c96a91775f # v1.0.0 | |
id: octo-sts | |
with: | |
scope: ${{ github.repository }} | |
identity: release-monitoring-updates | |
# this need to point to main to always get the latest action | |
- uses: wolfi-dev/actions/wolfictl-update-rm@main # main | |
with: | |
repository: ${{github.repository}} | |
release_monitor_token: ${{ secrets.RELEASE_MONITOR_TOKEN }} | |
token: ${{ steps.octo-sts.outputs.token }} | |
git_author_name: ${{ env.GIT_AUTHOR_NAME }} | |
git_author_email: ${{ env.GIT_AUTHOR_EMAIL }} |