Skip to content

Create CODEOWNERS

Create CODEOWNERS #100

---
name: Link Milestone
on:
pull_request_target:
branches: [main]
types: ['closed']
jobs:
link-milestone:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
issues: write
steps:
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.18.3'
- run: |
go install github.com/stephybun/link-milestone@latest
link-milestone
env:
PR_NUMBER: ${{ github.event.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPO: ${{ github.repository }}