diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a4b2a73..ac8b2ba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,9 +2,9 @@ name: Release on: workflow_dispatch: - push: - tags: - - 'v*' + # push: + # tags: + # - 'v*' jobs: call-release: diff --git a/.github/workflows/test-compat-pr-comment.yml b/.github/workflows/test-compat-pr-comment.yml index 0f3b997..7854f11 100644 --- a/.github/workflows/test-compat-pr-comment.yml +++ b/.github/workflows/test-compat-pr-comment.yml @@ -1,12 +1,13 @@ -name: Test Compatibility and Trigger Release For External PR +name: Test Compatibility On Comment on: workflow_dispatch: - issue_comment: - types: [created, edited] + # issue_comment: + # types: [created, edited] jobs: - call-test-compatibility: + check-commenting-user: + runs-on: ubuntu-latest if: ${{ contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, 'make it so') }} steps: - uses: actions/github-script@v7 @@ -21,7 +22,7 @@ jobs: if (result.state != "active" ) { core.setFailed('Commenter is not a member of the growth team.') } - - uses: lacework/oss-actions/.github/workflows/tf-test-compatibility.yml@main - secrets: inherit - with: - trigger-release: true \ No newline at end of file + call-test-compat: + needs: check-commenting-user + uses: lacework/oss-actions/.github/workflows/tf-test-compatibility.yml@main + secrets: inherit diff --git a/.github/workflows/test-compatibility.yml b/.github/workflows/test-compatibility.yml index c43c897..22c7e63 100644 --- a/.github/workflows/test-compatibility.yml +++ b/.github/workflows/test-compatibility.yml @@ -2,18 +2,13 @@ name: Test Compatibility on: workflow_dispatch: - push: + # pull_request: + # push: + # branches: + # - main jobs: call-test-compat-with-trigger: - if: github.ref == 'refs/heads/main' uses: lacework/oss-actions/.github/workflows/tf-test-compatibility.yml@main secrets: inherit - with: - trigger-release: true - call-test-compat-without-trigger: - if: github.ref != 'refs/heads/main' - uses: lacework/oss-actions/.github/workflows/tf-test-compatibility.yml@main - secrets: inherit - with: - trigger-release: false + diff --git a/.github/workflows/verify-release.yml b/.github/workflows/verify-release.yml index d56d164..6416168 100644 --- a/.github/workflows/verify-release.yml +++ b/.github/workflows/verify-release.yml @@ -2,9 +2,9 @@ name: Verify Release on: workflow_dispatch: - push: - branches: - - release + # push: + # branches: + # - release jobs: call-verify-release: