Skip to content

docs: add migration guide #284

docs: add migration guide

docs: add migration guide #284

Workflow file for this run

# Tweak incoming issues/PRs: labeling and/or adding to GH projects.
name: "labeler"
on:
issues:
types: [opened]
pull_request_target:
types: [opened]
# '*: write' permissions for https://docs.github.com/en/rest/issues/labels?apiVersion=2022-11-28#add-labels-to-an-issue
permissions:
contents: read
issues: write
pull-requests: write
jobs:
categorize-issues-and-prs:
runs-on: ubuntu-latest
steps:
- id: is_elastic_member
uses: elastic/apm-pipeline-library/.github/actions/is-member-elastic-org@current
with:
username: ${{ github.actor }}
token: ${{ secrets.APM_TECH_USER_TOKEN }}
- name: Add community and triage labels
if: contains(steps.is_elastic_member.outputs.result, 'false') && github.actor != 'dependabot[bot]' && github.actor != 'elastic-renovate-prod[bot]'
uses: actions/github-script@v7
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["community", "triage"]
})
- name: Assign new internal issues and PRs to project
uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e # v1.0.2
if: contains(steps.is_elastic_member.outputs.result, 'true')
with:
project-url: 'https://github.com/orgs/elastic/projects/1397'
github-token: ${{ secrets.APM_TECH_USER_TOKEN }}