From 6a90c0e04eb18bb500ebc4940def84ae8aca820a Mon Sep 17 00:00:00 2001 From: Dominik Rabsch <62121818+domonik@users.noreply.github.com> Date: Tue, 23 Apr 2024 13:22:29 +0200 Subject: [PATCH] Update workflow.yml --- .github/workflows/workflow.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) 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