diff --git a/.github/workflows/branch-protection.yml b/.github/workflows/branch-protection.yml new file mode 100644 index 0000000..b82cfb6 --- /dev/null +++ b/.github/workflows/branch-protection.yml @@ -0,0 +1,11 @@ +name: "Branch protection" +on: + pull_request: + types: [opened, edited, reopened, synchronize] + +jobs: + test_job: + runs-on: ubuntu-latest + name: Branch naming protection check. + steps: + - uses: knawat/github-actions-gitflow@v1 diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index d4371e3..795ddda 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -14,6 +14,10 @@ jobs: runs-on: macos-latest + env: + API_KEY: ${{ secrets.API_KEY }} + ENTRY_ID: ${{ secrets.ENTRY_ID }} + steps: - uses: actions/checkout@v4 - name: Build and run tests