Auto PR: Regenerating based on (ef6ce160531db99fecd79a4de3e80ce51659fd09) #5579
Workflow file for this run
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: Link Milestone | |
on: | |
pull_request_target: | |
branches: [main] | |
types: ['closed'] | |
jobs: | |
link-milestone: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
issues: write | |
steps: | |
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 | |
with: | |
# we cannot use go-version-file here because no repositories are checked out so there is no file to reference | |
go-version: '1.21.6' | |
- run: | | |
go install github.com/stephybun/link-milestone@latest | |
link-milestone | |
env: | |
PR_NUMBER: ${{ github.event.number }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITHUB_REPO: ${{ github.repository }} |