build: bump version.spring-boot from 1.5.22.RELEASE to 3.4.0 #2457
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
name: "Issue Labeler" | |
on: | |
issues: | |
types: [opened] | |
pull_request_target: | |
types: [opened] | |
permissions: | |
contents: read | |
issues: write | |
pull-requests: write | |
jobs: | |
triage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Add agent-java label | |
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: ["agent-java"] | |
}) | |
- name: Get token | |
id: get_token | |
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 | |
with: | |
app_id: ${{ secrets.OBS_AUTOMATION_APP_ID }} | |
private_key: ${{ secrets.OBS_AUTOMATION_APP_PEM }} | |
permissions: >- | |
{ | |
"members": "read", | |
"organization_projects": "write", | |
"issues": "read" | |
} | |
- id: is_elastic_member | |
uses: elastic/oblt-actions/github/is-member-of@v1 | |
with: | |
github-org: "elastic" | |
github-user: ${{ github.actor }} | |
github-token: ${{ steps.get_token.outputs.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]' && github.actor != 'elastic-observability-automation[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: Add comment for community PR | |
if: contains(steps.is_elastic_member.outputs.result, 'false') && github.actor != 'dependabot[bot]' && github.actor != 'elastic-renovate-prod[bot]' && github.actor != 'elastic-observability-automation[bot]' | |
uses: wow-actions/auto-comment@v1 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
pullRequestOpened: | | |
👋 @{{ author }} Thanks a lot for your contribution! | |
It may take some time before we review a PR, so even if you don’t see activity for some time, it **does not** mean that we have forgotten about it. | |
Every once in a while we go through a process of prioritization, after which we are focussing on the tasks that were planned for the upcoming [milestone](https://github.com/elastic/apm-agent-java/milestones). The prioritization status is typically reflected through the PR labels. It could be pending triage, a candidate for a future milestone, or have a target milestone set to it. | |
- name: Assign new internal pull requests to project | |
uses: elastic/[email protected] | |
if: contains(steps.is_elastic_member.outputs.result, 'true') && github.event.pull_request | |
env: | |
MY_GITHUB_TOKEN: ${{ steps.get_token.outputs.token }} | |
with: | |
project: 'https://github.com/orgs/elastic/projects/454' | |
project_id: '5882982' | |
column_name: 'In Progress' |