Merge pull request #897 from wangzhen127/bump-v0.8.18 #3
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 | |
paths: | |
- version.txt | |
jobs: | |
tag: | |
if: ${{ github.repository == 'kubernetes/node-problem-detector' }} | |
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 }} |