Agentic Auto-Upgrade #1
This file contains hidden or 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
| # This file was automatically generated by pkg/workflow/auto_update_workflow.go (v0.83.1). DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md | |
| # | |
| # ___ _ _ | |
| # / _ \ | | (_) | |
| # | |_| | __ _ ___ _ __ | |_ _ ___ | |
| # | _ |/ _` |/ _ \ '_ \| __| |/ __| | |
| # | | | | (_| | __/ | | | |_| | (__ | |
| # \_| |_/\__, |\___|_| |_|\__|_|\___| | |
| # __/ | | |
| # _ _ |___/ | |
| # | | | | / _| | | |
| # | | | | ___ _ __ _ __| |_| | _____ ____ | |
| # | |/\| |/ _ \ '__| |/ /| _| |/ _ \ \ /\ / / ___| | |
| # \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \ | |
| # \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/ | |
| # | |
| # | |
| # To regenerate this workflow, run: | |
| # gh aw compile | |
| # Not all edits will cause changes to this file. | |
| # | |
| # For more information: https://github.github.com/gh-aw/introduction/overview/ | |
| # | |
| # Alternative regeneration methods: | |
| # make recompile | |
| # | |
| # Or use the gh-aw CLI directly: | |
| # ./gh-aw compile --validate --verbose | |
| # | |
| # The workflow is generated when auto_upgrade is enabled in aw.json (true or object form). | |
| # When auto_upgrade is an object without a cron, the fuzzy weekly schedule is used. | |
| # The weekly schedule is deterministically scattered based on the repository slug. | |
| # | |
| name: Agentic Auto-Upgrade | |
| on: | |
| schedule: | |
| - cron: "25 3 * * 2" # Weekly (auto-upgrade) | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| issues: write | |
| jobs: | |
| auto-upgrade: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Install gh-aw | |
| uses: github/gh-aw-actions/setup-cli@v0.83.1 | |
| with: | |
| version: v0.83.1 | |
| - name: Setup Scripts | |
| uses: github/gh-aw-actions/setup@v0.83.1 | |
| with: | |
| destination: ${{ runner.temp }}/gh-aw/actions | |
| - name: Run upgrade notification | |
| uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GH_AW_OPERATION: upgrade | |
| GH_AW_CMD_PREFIX: gh aw | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| script: | | |
| const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs'); | |
| setupGlobals(core, github, context, exec, io, getOctokit); | |
| const { mainNotifyIssue } = require('${{ runner.temp }}/gh-aw/actions/run_operation_update_upgrade.cjs'); | |
| await mainNotifyIssue(); |