aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/.github/workflows/milestone.yml
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-04-04 19:22:04 +0300
committerCan Celik <ogulcancelik@gmail.com>2026-04-05 01:23:06 +0300
commit41dd733ca7123c9ac4bfc6c781697a660e95b052 (patch)
tree3fc91815ca139ef2e0b281bba0abda4ef15175f4 /vendor/libghostty-vt/.github/workflows/milestone.yml
parent55c138263e190a1e79d4b997bfb9397306c0ec1f (diff)
feat: finish ghostty pane backend integration
Diffstat (limited to 'vendor/libghostty-vt/.github/workflows/milestone.yml')
-rw-r--r--vendor/libghostty-vt/.github/workflows/milestone.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/vendor/libghostty-vt/.github/workflows/milestone.yml b/vendor/libghostty-vt/.github/workflows/milestone.yml
new file mode 100644
index 00000000..34e7652a
--- /dev/null
+++ b/vendor/libghostty-vt/.github/workflows/milestone.yml
@@ -0,0 +1,33 @@
+# 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:
+ # Ignore bot-authored pull requests (dependabot, app bots, etc)
+ # and CI-only PRs.
+ if: github.event_name == 'issues' || (github.event.pull_request.user.type != 'Bot' && !startsWith(github.event.pull_request.title, 'ci:'))
+ runs-on: namespace-profile-ghostty-sm
+ name: Milestone Update
+ steps:
+ - name: Set Milestone for PR
+ uses: hustcer/milestone-action@ebed8d5daafd855a600d7e665c1b130f06d24130 # v3.1
+ if: github.event.pull_request.merged == true && !contains(github.event.pull_request.title, 'VOUCHED') && !startsWith(github.event.pull_request.title, 'ci:')
+ with:
+ action: bind-pr # `bind-pr` is the default action
+ 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@ebed8d5daafd855a600d7e665c1b130f06d24130 # v3.1
+ if: github.event.issue.state == 'closed'
+ with:
+ action: bind-issue
+ github-token: ${{ secrets.GITHUB_TOKEN }}