Automatically populate PropertySource with instance metadata when running within an EC2 environment. #410
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 triager | |
on: | |
issues: | |
types: [opened] | |
permissions: | |
contents: read | |
jobs: | |
label: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: damccorm/tag-ur-it@master | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
configuration-path: "./.github/triage-rules.yml" | |
- if: always() | |
uses: actions/github-script@0.4.0 | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
script: | | |
github.issues.addLabels({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
labels: ['status: waiting-for-triage'] | |
}) |