Fixes destroy on cloudflare_authenticated_origin_pulls #1347
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check for maintainer only files | |
on: | |
pull_request_target: | |
types: [opened] | |
jobs: | |
maintainer-only-files: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'tools/go.mod' | |
- run: make tools | |
- run: go run cmd/maintainer-only-file-check/main.go ${{ github.event.pull_request.number }} | |
working-directory: ./tools | |
env: | |
GITHUB_OWNER: cloudflare | |
GITHUB_REPO: terraform-provider-cloudflare | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |