doc: Refactor "install boundary" section #3762
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow checks that there is either a 'pr/no-milestone' label applied | |
# to a PR or there is a milestone associated with a PR | |
name: Check Milestone | |
on: | |
pull_request: | |
types: [opened, synchronize, labeled, unlabeled] | |
# Runs on PRs to main and release branches | |
branches: | |
- main | |
- release/** | |
permissions: | |
contents: read | |
statuses: write | |
jobs: | |
# checks that a milestone entry is present for a PR | |
milestone-check: | |
# If there is a `pr/no-milestone` label we ignore this check | |
if: contains(github.event.pull_request.labels.*.name, 'pr/no-milestone') != true | |
runs-on: ${{ fromJSON(vars.RUNNER) }} | |
steps: | |
- name: Checkout Actions | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
repository: "grafana/grafana-github-actions" | |
path: ./actions | |
ref: be89ad434792280ebaa4d982ac72ba548b6f7095 | |
- name: Set up Node.js | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version: '16.x' | |
- name: Install Actions | |
run: npm install --production --prefix ./actions | |
- name: Run PR Checks | |
uses: ./actions/pr-checks | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
configPath: configs/milestone-check |