Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

found a few spaces here while checking git diff for other stuff

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works fine even with this repo being private?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems so

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 }}