build(deps): bump the aws group with 4 updates #498
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
name: "Issue+PR Labeler" | |
on: | |
issues: | |
types: [opened] | |
pull_request_target: | |
types: [opened] | |
env: | |
MY_GITHUB_TOKEN: ${{ secrets.APM_TECH_USER_TOKEN }} | |
permissions: | |
contents: read | |
issues: write | |
pull-requests: write | |
jobs: | |
triage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Add aws-λ-extension label | |
uses: github/[email protected] | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
configuration-path: .github/labeler-config.yml | |
enable-versioned-regex: 0 | |
- name: Check team membership for user | |
uses: elastic/[email protected] | |
id: checkUserMember | |
with: | |
username: ${{ github.actor }} | |
team: 'observability' | |
usernamesToExclude: | | |
apmmachine | |
dependabot | |
GITHUB_TOKEN: ${{ secrets.APM_TECH_USER_TOKEN }} | |
- name: Show team membership | |
run: | | |
echo "::debug::isTeamMember: ${{ steps.checkUserMember.outputs.isTeamMember }}" | |
echo "::debug::isExcluded: ${{ steps.checkUserMember.outputs.isExcluded }}" | |
- name: Add community and triage labels | |
if: steps.checkUserMember.outputs.isTeamMember != 'true' && steps.checkUserMember.outputs.isExcluded != 'true' | |
uses: github/[email protected] | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
configuration-path: .github/community-label.yml | |
enable-versioned-regex: 0 | |
- name: Assign new internal pull requests to project | |
uses: elastic/[email protected] | |
if: (steps.checkUserMember.outputs.isTeamMember == 'true' || steps.checkUserMember.outputs.isExcluded == 'true') && github.event.pull_request | |
with: | |
project: 'https://github.com/orgs/elastic/projects/454' | |
project_id: '5882982' | |
column_name: 'In Progress' |