Merge pull request #998 from crazy-max/test-output #1209
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-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-releases-json.yml' | |
| jobs: | |
| generate: | |
| uses: crazy-max/.github/.github/workflows/releases-json.yml@2842b806167c9dbacf5f972e0fcf47204a99d987 | |
| with: | |
| repository: docker/compose | |
| artifact_name: compose-releases-json | |
| filename: compose-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@v6 | |
| - | |
| name: Download | |
| uses: actions/download-artifact@v8 | |
| with: | |
| name: compose-releases-json | |
| path: .github | |
| - | |
| name: Commit changes | |
| run: | | |
| git add -A . | |
| - | |
| name: Create PR | |
| uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0 | |
| with: | |
| base: main | |
| branch: bot/compose-releases-json | |
| commit-message: "github: update .github/compose-releases.json" | |
| signoff: true | |
| delete-branch: true | |
| title: "Update `.github/compose-releases.json`" | |
| body: | | |
| Update `.github/compose-releases.json` to keep in sync with [https://github.com/docker/compose](https://github.com/docker/compose). | |
| draft: false |