Skip to content

Merge pull request #976 from wangzhen127/release-new-version #5

Merge pull request #976 from wangzhen127/release-new-version

Merge pull request #976 from wangzhen127/release-new-version #5

Workflow file for this run

name: tag-release
on:
push:
branches:
- master
paths:
- version.txt
permissions:
contents: read
jobs:
tag:
if: ${{ github.repository == 'kubernetes/node-problem-detector' }}
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
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 }}