Merge pull request #1082 from crazy-max/update-deps-push-change #1369
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 | |
| permissions: | |
| contents: read | |
| 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@d89fe92d808a15e2b2ed5cdb62db7c172c31410d # v1.6.0 | |
| with: | |
| repository: docker/compose-desktop | |
| artifact_name: compose-lab-releases-json | |
| filename: compose-lab-releases.json | |
| open-pr: | |
| runs-on: ubuntu-24.04 | |
| if: github.event_name != 'pull_request' | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| needs: | |
| - generate | |
| steps: | |
| - | |
| name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - | |
| name: Download | |
| uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 | |
| with: | |
| name: compose-lab-releases-json | |
| path: .github | |
| - | |
| name: Commit changes | |
| run: | | |
| git add -A . | |
| - | |
| name: Create PR | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| 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 |