Merge pull request #1084 from shizuchanw/master #56
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 | |
permissions: | |
contents: read | |
jobs: | |
tag: | |
if: ${{ github.repository == 'kubernetes/cloud-provider-aws' }} | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
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 }} |