Skip to content

Commit

Permalink
Demonstrate GHA.
Browse files Browse the repository at this point in the history
  • Loading branch information
trexfeathers committed Dec 12, 2023
1 parent 703a758 commit 6ee4342
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/peloton.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,14 @@ on:
jobs:
update_peloton_project:
name: "Update Peloton Project Board"
if: github.repository == 'SciTools/.github'
if: github.repository == 'trexfeathers/SciTools.github'
runs-on: ubuntu-latest

defaults:
run:
shell: bash -l {0}

steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.AUTH_APP_ID }}
private_key: ${{ secrets.AUTH_APP_PRIVATE_KEY }}

- name: "Checkout repo"
uses: actions/checkout@v3

Expand All @@ -42,5 +35,5 @@ jobs:
fi
$CONDA/bin/python peloton/update_project.py \
--verbose \
--bearer_token "${{ steps.generate_token.outputs.token }}" \
--bearer_token "${{ secrets.PROJECT_WRITE_PERMISSIONS }}" \
-- update_loop_minutes ${{ github.event.inputs.update_loop_minutes }}

0 comments on commit 6ee4342

Please sign in to comment.