Skip to content

Commit

Permalink
Update and rename automilestone.yml to autoassig_milestone_to_issue.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kopardev authored Jan 24, 2024
1 parent 0a2e5c8 commit 747dc73
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/autoassig_milestone_to_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Autoassign milestone
on:
issues:
types: [assigned, opened, reopened]
pull_request:
types: [assigned, opened, reopened]
jobs:
milestone:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: do it
run: |
msname=$(date "+%b %Y")
echo $msname
echo "gh issue edit $ISSUE --milestone \"$msname\""
gh issue edit $ISSUE --milestone "$msname"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ISSUE: ${{ github.event.issue.number }}
12 changes: 0 additions & 12 deletions .github/workflows/automilestone.yml

This file was deleted.

0 comments on commit 747dc73

Please sign in to comment.