Merge pull request #1168 from fluxcd/dependabot/github_actions/ci-cc9… #79
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: release-prep | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - 'flux/v2.*.x' | |
| jobs: | |
| prep: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| token: ${{ secrets.BOT_GITHUB_TOKEN }} | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| - name: Setup Go | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 | |
| with: | |
| go-version-file: cmd/go.mod | |
| cache-dependency-path: "**/go.sum" | |
| - name: Run make prep-ci | |
| run: make prep-ci | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| token: ${{ secrets.BOT_GITHUB_TOKEN }} | |
| commit-message: Prepare for release | |
| committer: GitHub <noreply@github.com> | |
| signoff: true | |
| branch: release-${{ github.ref_name }} | |
| title: Prepare for release | |
| body: | | |
| Automated release preparation for `${{ github.ref_name }}`. |