Consider all SHA's of a manifest #4
Workflow file for this run
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: Tag Release | |
| on: | |
| pull_request: | |
| types: [closed] | |
| jobs: | |
| TagRelease: | |
| permissions: | |
| contents: write | |
| name: Create Release Tag | |
| runs-on: ubuntu-22.04 | |
| if: github.event.pull_request.merged == true && startsWith( github.event.pull_request.head.ref, 'release-' ) | |
| steps: | |
| - uses: bhowell2/[email protected] | |
| id: release_number | |
| with: | |
| value: ${{ github.event.pull_request.head.ref }} | |
| index_of_str: "release-" | |
| - name: Create Tag | |
| uses: tvdias/[email protected] | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| tag: ${{ steps.release_number.outputs.substring }} |