diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 142d49be..bc31d7c8 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -1,5 +1,8 @@ name: CI -on: [push] +on: + push: + branches: + - main jobs: build: @@ -7,6 +10,9 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 + ref: master - uses: actions/setup-python@v5 with: python-version: '3.12'