Skip to content

ci: pin github actions by hash and update via dependabot #520

ci: pin github actions by hash and update via dependabot

ci: pin github actions by hash and update via dependabot #520

name: Auto add PR to vNext milestone
on:
pull_request:
branches:
- master
- main
types: [closed]
jobs:
add_to_milestone:
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.title, '[Version Bump]') == false
runs-on: ubuntu-24.04
permissions:
contents: read
pull-requests: write # need to modify existing PR
issues: write # need to potentially create a new milestone
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # v4.3.0
with:
dotnet-version: '7.0.101'
- name: "Assign to vNext Milestone"
run: ./github-actions-helpers/build.sh AssignPullRequestToMilestone
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
PullRequestNumber: "${{ github.event.pull_request.number }}"