This repository has been archived by the owner on Feb 14, 2025. It is now read-only.
chore(deps): bump the ci group with 10 updates #3
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: Set milestone | |
on: | |
issues: | |
types: | |
- closed | |
pull_request: | |
types: | |
- closed | |
jobs: | |
set_milestone: | |
name: Set milestone | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- name: Set milestone on issue | |
if: github.event.issue.state_reason == 'completed' | |
run: gh issue edit ${{ github.event.issue.number }} --milestone "$(date +"%Y-Q%q")" --repo ${{ github.repository }} | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set milestone on pull request | |
if: github.event.pull_request.merged == true | |
run: gh pr edit ${{ github.event.pull_request.number }} --milestone "$(date +"%Y-Q%q")" --repo ${{ github.repository }} | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |