Skip to content

fix(ci): pin GitHub Actions to full-length commit SHAs #27

fix(ci): pin GitHub Actions to full-length commit SHAs

fix(ci): pin GitHub Actions to full-length commit SHAs #27

Workflow file for this run

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@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 0
- run: /usr/bin/git config --global user.email actions@github.com
- 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 }}