Some fixed for GHAs
This commit is contained in:
6
.github/workflows/ci-close-milestone.yml
vendored
6
.github/workflows/ci-close-milestone.yml
vendored
@@ -1,7 +1,9 @@
|
||||
name: Close Milestone and Notify Slack
|
||||
name: Close Milestone
|
||||
|
||||
on:
|
||||
release
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
|
||||
jobs:
|
||||
close-milestone:
|
||||
|
||||
@@ -15,14 +15,16 @@ on:
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
build:
|
||||
close-milestone:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
- id: get-milestone-from-tag
|
||||
run: echo milestoneName=${${{ inputs.releaseTag }}#v} >> $GITHUB_OUTPUT
|
||||
run: |
|
||||
TAG=${{ inputs.releaseTag }}
|
||||
echo milestoneName=${TAG#v} >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: octokit/request-action@v2.x
|
||||
id: list_milestones
|
||||
|
||||
Reference in New Issue
Block a user