Skip to content

Commit

Permalink
ci: temporarily disable github workflow triggers and restore codefresh (
Browse files Browse the repository at this point in the history
#27)

Signed-off-by: Timothy MacDonald <tim.macdonald@lacework.net>
  • Loading branch information
tmac1973 authored Mar 19, 2024
1 parent 78515be commit 50a6750
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 24 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Release

on:
workflow_dispatch:
push:
tags:
- 'v*'
# push:
# tags:
# - 'v*'

jobs:
call-release:
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/test-compat-pr-comment.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
call-test-compat:
needs: check-commenting-user
uses: lacework/oss-actions/.github/workflows/tf-test-compatibility.yml@main
secrets: inherit
15 changes: 5 additions & 10 deletions .github/workflows/test-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

6 changes: 3 additions & 3 deletions .github/workflows/verify-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Verify Release

on:
workflow_dispatch:
push:
branches:
- release
# push:
# branches:
# - release

jobs:
call-verify-release:
Expand Down

0 comments on commit 50a6750

Please sign in to comment.