Merge pull request #703 from cartermckinnon/patch-4 #8
This file contains 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: | |
push: | |
branches: | |
- master | |
- 'release-*' | |
paths: | |
- version.txt | |
jobs: | |
tag: | |
if: ${{ github.repository == 'kubernetes/cloud-provider-aws' }} | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- run: /usr/bin/git config --global user.email [email protected] | |
- run: /usr/bin/git config --global user.name 'GitHub Actions Release Tagger' | |
- run: hack/tag-release.sh | |
id: tag_release | |
outputs: | |
release_tag: ${{ steps.tag_release.outputs.release_tag }} |