mirror of
https://github.com/nushell/nushell.git
synced 2025-01-31 18:49:26 +01:00
4e1b06cb51
- [x] Update Nu to 0.101.0 for release and nightly-build workflow, test successfully in the nightly repo for a while, e.g.: https://github.com/nushell/nightly/actions/runs/12779907140 - [x] Pin `ubuntu-latest` to `ubuntu-22.04` for riscv64gc build due to [Ubuntu-latest workflows will use Ubuntu-24.04 image](https://github.com/actions/runner-images/issues/10636) - [x] Stabilize `hustcer/milestone-action@main` to `hustcer/milestone-action@v2`
31 lines
828 B
YAML
31 lines
828 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: ubuntu-latest
|
|
name: Milestone Update
|
|
steps:
|
|
- name: Set Milestone for PR
|
|
uses: hustcer/milestone-action@main
|
|
if: github.event.pull_request.merged == true
|
|
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@v2
|
|
if: github.event.issue.state == 'closed'
|
|
with:
|
|
action: bind-issue
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|