Merge pull request #18 from Magnus167/testing_pr

Testing workflow
This commit is contained in:
Palash Tyagi 2025-04-24 19:03:27 +01:00 committed by GitHub
commit 3e2e631ea1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,35 +1,34 @@
name: pr-checks # name: pr-checks
on: # on:
pull_request: # pull_request:
branches: [main] # branches: [pr_checks_disabled_for_now]
types: # types:
- opened # - opened
# - synchronize # # - synchronize
# disable to save resources # - reopened
- reopened # - edited
- edited # - ready_for_review
- ready_for_review
concurrency: # concurrency:
group: pr-checks-${{ github.event.number }} # group: pr-checks-${{ github.event.number }}
permissions: # permissions:
contents: read # contents: read
pull-requests: read # pull-requests: read
checks: write # checks: write
jobs: # jobs:
pr-checks: # pr-checks:
name: pr-checks # name: pr-checks
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
- name: Run PR checks # - name: Run PR checks
shell: bash # shell: bash
env: # env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.number }} # PR_NUMBER: ${{ github.event.number }}
run: | # run: |
python .github/scripts/pr_checks.py $PR_NUMBER # python .github/scripts/pr_checks.py $PR_NUMBER