mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-04 12:27:49 +00:00
Bumps [hustcer/milestone-action](https://github.com/hustcer/milestone-action) from 2.9 to 2.11.
- [Release notes](https://github.com/hustcer/milestone-action/releases)
- [Changelog](https://github.com/hustcer/milestone-action/blob/main/CHANGELOG.md)
- [Commits](b57a7e52e9...bff2091b54)
---
updated-dependencies:
- dependency-name: hustcer/milestone-action
dependency-version: '2.11'
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
33 lines
1007 B
YAML
33 lines
1007 B
YAML
# Description:
|
|
# - Add milestone to a merged PR automatically
|
|
# - Add milestone to a closed issue that has a merged PR fix (if any)
|
|
|
|
name: Milestone Action
|
|
on:
|
|
issues:
|
|
types: [closed]
|
|
pull_request_target:
|
|
types: [closed]
|
|
|
|
jobs:
|
|
update-milestone:
|
|
runs-on: namespace-profile-ghostty-sm
|
|
name: Milestone Update
|
|
steps:
|
|
- name: Set Milestone for PR
|
|
uses: hustcer/milestone-action@bff2091b54a91cf1491564659c554742b285442f # v2.11
|
|
if: github.event.pull_request.merged == true
|
|
with:
|
|
action: bind-pr # `bind-pr` is the default action
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
# Bind milestone to closed issue that has a merged PR fix
|
|
- name: Set Milestone for Issue
|
|
uses: hustcer/milestone-action@bff2091b54a91cf1491564659c554742b285442f # v2.11
|
|
if: github.event.issue.state == 'closed'
|
|
with:
|
|
action: bind-issue
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|