Merge pull request #843 from crazy-max/rm-actions-attest #820
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: compose-lab-releases-json | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 */12 * * *' | |
| push: | |
| branches: | |
| - 'main' | |
| pull_request: | |
| paths: | |
| - '.github/workflows/compose-lab-releases-json.yml' | |
| jobs: | |
| generate: | |
| uses: crazy-max/.github/.github/workflows/releases-json.yml@34fd436075cac6431d2036d5f6f1c3f3d4687ac5 | |
| with: | |
| repository: docker/compose-desktop | |
| artifact_name: compose-lab-releases-json | |
| filename: compose-lab-releases.json | |
| secrets: inherit | |
| open-pr: | |
| runs-on: ubuntu-24.04 | |
| if: github.event_name != 'pull_request' | |
| needs: | |
| - generate | |
| steps: | |
| - | |
| name: Checkout | |
| uses: actions/checkout@v5 | |
| - | |
| name: Download | |
| uses: actions/download-artifact@v6 | |
| with: | |
| name: compose-lab-releases-json | |
| path: .github | |
| - | |
| name: Commit changes | |
| run: | | |
| git add -A . | |
| - | |
| name: Create PR | |
| uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8 | |
| with: | |
| base: main | |
| branch: bot/compose-lab-releases-json | |
| commit-message: "github: update .github/compose-lab-releases.json" | |
| signoff: true | |
| delete-branch: true | |
| title: "Update `.github/compose-lab-releases.json`" | |
| body: | | |
| Update `.github/compose-lab-releases.json` to keep in sync with [https://github.com/docker/compose-desktop](https://github.com/docker/compose-desktop). | |
| draft: false |