Skip to content

chore: bump semver from 7.3.8 to 7.5.4 in /examples/azure-identity/node #478

chore: bump semver from 7.3.8 to 7.5.4 in /examples/azure-identity/node

chore: bump semver from 7.3.8 to 7.5.4 in /examples/azure-identity/node #478

Workflow file for this run

name: create_release
on:
workflow_dispatch:
pull_request:
branches:
- main
- release-**
types: [closed]
permissions:
contents: write
jobs:
create-release:
if: github.event.pull_request.merged == true && contains(github.event.pull_request.title, 'update manifest and helm charts')
runs-on: ubuntu-20.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@128a63446a954579617e875aaab7d2978154e969 # v2.4.0
with:
egress-policy: audit
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
submodules: true
fetch-depth: 0
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with:
go-version: "1.20"
- id: get-tag
name: Get tag
run: echo "tag=$(echo ${{ github.event.pull_request.head.ref }} | sed -e 's/release-//g')" >> $GITHUB_OUTPUT
- name: Create tag
run: |
git tag ${{ steps.get-tag.outputs.tag }}
- name: Goreleaser
uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b # v4.2.0
with:
version: latest
args: release --rm-dist --timeout 150m --debug
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}