Skip to content

Commit

Permalink
Merge pull request ARMmbed#14691 from adbridge/master
Browse files Browse the repository at this point in the history
Add GitHub action for issue triaging script
  • Loading branch information
adbridge authored May 25, 2021
2 parents cb4dd19 + 1684b9c commit 2ea0386
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on:
issues:
types: [ opened, reopened ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Install Python environment
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Checkout mbed-os-scripts repo (This repo is currently private)
uses: actions/checkout@v2
with:
repository: ARMmbed/mbed-os-ci-scripts
token: ${{ secrets.ISSUE_TRIAGING_PERMS }}
path: scripts
ref: triage_test

- name: Run the script
run: |
python -m pip install pygithub
python ./scripts/issue_triaging/__init__.py -i ${{github.event.issue.number}} -r ${{ github.event.repository.name }} -t ${{ secrets.ISSUE_TRIAGING_PERMS }}

0 comments on commit 2ea0386

Please sign in to comment.