From 2b74b5c8fbda8d9cd2f1b1e89447c10d5458356a Mon Sep 17 00:00:00 2001 From: nick lynch-jonely Date: Mon, 11 Nov 2019 17:35:37 -0800 Subject: [PATCH 1/2] Create initialstate-kpis.yml --- .github/workflows/initialstate-kpis.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/initialstate-kpis.yml diff --git a/.github/workflows/initialstate-kpis.yml b/.github/workflows/initialstate-kpis.yml new file mode 100644 index 0000000..ec47875 --- /dev/null +++ b/.github/workflows/initialstate-kpis.yml @@ -0,0 +1,22 @@ +name: initialstate-kpis +on: + push: + branches: + - master +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout iss streamer + run: git clone "https://${{ secrets.ACCESS_TOKEN }}:x-oauth-basic@github.com/tektronix/initialstate-kpi-streamer.git" iss + - name: Set up Python 3.7 + uses: actions/setup-python@v1 + with: + python-version: 3.7 + - name: get-maintainer-stats + env: + GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} + ISS_ACCESS_KEY: ${{ secrets.ISS_ACCESS_KEY }} + run: | + pip install -r ./iss/requirements.txt + python ./iss/maintainer_stats.py --debug --small-terminal -n "Tektronix Open Source :ambulance: Health Monitor :ambulance:" -b CW37LU8VCTQH -r lab-bot From 05c29b45834bfab8321b01ae12032ffe8585f75e Mon Sep 17 00:00:00 2001 From: nick lynch-jonely Date: Mon, 25 Nov 2019 16:46:26 -0800 Subject: [PATCH 2/2] Update initialstate-kpis.yml argument renamed to support a new branches argument --- .github/workflows/initialstate-kpis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/initialstate-kpis.yml b/.github/workflows/initialstate-kpis.yml index ec47875..974b61e 100644 --- a/.github/workflows/initialstate-kpis.yml +++ b/.github/workflows/initialstate-kpis.yml @@ -19,4 +19,4 @@ jobs: ISS_ACCESS_KEY: ${{ secrets.ISS_ACCESS_KEY }} run: | pip install -r ./iss/requirements.txt - python ./iss/maintainer_stats.py --debug --small-terminal -n "Tektronix Open Source :ambulance: Health Monitor :ambulance:" -b CW37LU8VCTQH -r lab-bot + python ./iss/maintainer_stats.py --debug --small-terminal -n "Tektronix Open Source :ambulance: Health Monitor :ambulance:" -k CW37LU8VCTQH -r lab-bot