Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
btlghrants committed Aug 26, 2024
1 parent c9f026a commit 41cad2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/semrel-02-rel.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# refs:
# - https://shipit.dev/posts/trigger-github-actions-on-pr-close.html
# - https://github.com/orgs/community/discussions/26724
# - https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#running-your-pull_request-workflow-when-a-pull-request-merges

name: Release Testing

Expand All @@ -14,7 +15,7 @@ on:

jobs:
rc:
if: github.event.pull_request.merged == true
if: ${{ github.event_name == "workflow_dispatch" || github.event.pull_request.merged == true }}
uses: ./.github/workflows/semrel-rc.yml
soak:
needs: [rc]
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/semrel-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ on:

jobs:
pepr-build:
name: controller image
runs-on: ubuntu-latest
steps:
- name: Harden Runner
Expand All @@ -23,7 +22,7 @@ jobs:
- name: clone pepr
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
repository: defenseunicorns/pepr
repository: btlghrants/pepr-semrel
path: pepr

- name: "set env: PEPR"
Expand Down Expand Up @@ -75,7 +74,7 @@ jobs:
- name: clone pepr
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
repository: defenseunicorns/pepr
repository: btlghrants/pepr-semrel
path: pepr

- name: "set env: PEPR"
Expand All @@ -100,7 +99,7 @@ jobs:
- name: create matrix
run: |
matrix=$(
node "$PEPR/.github/workflows/semrel-02-e2e-matrix.js" "$PEXEX"
node "$PEPR/.github/workflows/semrel-e2e-matrix.js" "$PEXEX"
)
echo "matrix=${matrix}" >> "$GITHUB_OUTPUT"
id: create-matrix
Expand Down

0 comments on commit 41cad2a

Please sign in to comment.