asdf dependabot update #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
| --- | |
| name: asdf dependabot update | |
| on: | |
| schedule: | |
| # Runs at 8 AM ET / 12 PM UTC (non-DST) | |
| - cron: '0 12 * * 4' | |
| workflow_dispatch: | |
| jobs: | |
| setup-asdf-matrix: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| matrix-combinations: ${{ steps.setup-matrix-combinations.outputs.matrix-combinations }} | |
| steps: | |
| - uses: actions/[email protected] | |
| - name: install asdf & tools | |
| uses: asdf-vm/actions/[email protected] | |
| - name: install asdf & tools | |
| uses: asdf-vm/actions/[email protected] | |
| - name: Update Tools | |
| id: setup-matrix-combinations | |
| uses: "voxel51/aloha-github-workflows/.github/actions/asdf-dependabot-update/generate-matrix@main" | |
| with: | |
| patch-only: "python,nodejs" | |
| update-asdf: | |
| runs-on: ubuntu-latest | |
| needs: setup-asdf-matrix | |
| strategy: | |
| matrix: ${{ fromJson(needs.setup-asdf-matrix.outputs.matrix-combinations) }} | |
| steps: | |
| - uses: actions/[email protected] | |
| - name: Update Tools | |
| uses: "voxel51/aloha-github-workflows/.github/actions/asdf-dependabot-update/update@main" | |
| with: | |
| tool: ${{ matrix.tool }} | |
| tool-versions-file: .tool-versions | |
| version: ${{ matrix.version }} | |
| github-token: "${{ secrets.ORG_DEPENDABOT_UPDATE_PAT }}" |