diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 044d0eb..dca83b0 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -1,18 +1,19 @@ -name: Build and Test +name: GitHub Classroom Workflow on: - push: - branches: [ main ] + - push + - workflow_dispatch +permissions: + checks: write + actions: read + contents: read jobs: - build: name: Autograding runs-on: ubuntu-latest + if: github.actor != 'github-classroom[bot]' steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - with: - python-version: '3.x' - - uses: Bioinformatics2-teaching/classroom_autograding@main + - uses: actions/checkout@v4 + - uses: education/autograding@v1