diff --git a/.github/workflows/git-town.yml b/.github/workflows/git-town.yml index 060fe106..678b60c1 100644 --- a/.github/workflows/git-town.yml +++ b/.github/workflows/git-town.yml @@ -1,3 +1,6 @@ +# DO NOT EDIT DIRECTLY IN REPOSITORY +# Managed in Terraform templates + name: Git Town on: @@ -8,7 +11,7 @@ jobs: name: Display the branch stack runs-on: ubuntu-slim - if: ${{ !startsWith(github.head_ref, 'release-please--') }} + if: ${{ github.event.pull_request.head.repo.full_name == github.repository && !startsWith(github.head_ref, 'release-please--') }} permissions: contents: read @@ -17,3 +20,4 @@ jobs: steps: - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - uses: stoatchat/action-git-town@4bc5c942e4603bffa0806b51d5fe5f0bc5deb0ac + continue-on-error: true \ No newline at end of file