build(deps): bump wolfi/chainguard-base from ce1e3ed to 43b89c8
#1722
Workflow file for this run
This file contains hidden or 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] | |
| # '*: 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: | |
| triage: | |
| runs-on: ubuntu-latest | |
| env: | |
| NUMBER: ${{ github.event.issue.number || github.event.pull_request.number }} | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - name: Get token | |
| id: get_token | |
| uses: actions/create-github-app-token@v3 | |
| with: | |
| app-id: ${{ secrets.OBS_AUTOMATION_APP_ID }} | |
| private-key: ${{ secrets.OBS_AUTOMATION_APP_PEM }} | |
| permission-members: read | |
| - name: Add agent-python label | |
| run: gh issue edit "$NUMBER" --add-label "agent-python" --repo "${{ github.repository }}" | |
| - 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-observability-automation[bot]' | |
| run: gh issue edit "$NUMBER" --add-label "community,triage" --repo "${{ github.repository }}" |