Skip to content

fix

fix #6

Workflow file for this run

name: tests
on:
push:
branches: [ main ]
pull_request:
types: [ opened, synchronize, reopened, edited, labeled ]
jobs:
tests:
name: tests
# https://docs.github.com/en/actions/using-jobs/using-conditions-to-control-job-execution
# https://github.com/orgs/community/discussions/26261
if: ${{ github.event != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'ci') }}
runs-on: ubuntu-latest
steps:
- name: Ensure workspace ownership
run: echo "chown -R $USER $GITHUB_WORKSPACE" && sudo chown -R $USER $GITHUB_WORKSPACE
- name: Check out code
uses: actions/checkout@v3
with:
ssh-key: ${{ secrets.MY_DEPLOY_KEY }}