Skip to content

Commit

Permalink
F
Browse files Browse the repository at this point in the history
  • Loading branch information
nahsi committed Nov 24, 2024
1 parent 466b71c commit 8633294
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 97 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/create-command.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/create.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "create"

on:
pull_request:
types:
- "labeled"
- "synchronize"
- "opened"
- "reopened"

jobs:
k8s:
if: >
contains(github.event.pull_request.labels.*.name, 'ephemeral') &&
!github.event.pull_request.head.repo.fork
with:
command: create
workspace: "spectrum-${{ github.head_ref }}"
secrets:
PAT: ${{ secrets.FLUENCEBOT_RELEASE_PLEASE_PAT }}
16 changes: 0 additions & 16 deletions .github/workflows/destroy-command.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/help-command.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/reset-command.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/slash.yml

This file was deleted.

9 changes: 3 additions & 6 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ jobs:
id: comment
with:
token: ${{ secrets.PAT }}
repository: "${{ github.event.client_payload.repository || github.repository }}"
issue-number: "${{ github.event.pull_request.number || github.event.client_payload.pull_request.number }}"
issue-number: "${{ github.event.pull_request.number }}"
comment-author: fluencebot
body-includes: "## ephemeral: ${{ steps.sanitize.outputs.workspace }}"

Expand All @@ -98,8 +97,7 @@ jobs:
with:
comment-id: "${{ steps.comment.outputs.comment-id }}"
token: ${{ secrets.PAT }}
repository: "${{ github.event.pull_request.repository || github.event.client_payload.pull_request.repository }}"
issue-number: "${{ github.event.pull_request.number || github.event.client_payload.pull_request.number }}"
issue-number: "${{ github.event.pull_request.number }}"
comment-author: fluencebot
body: |
## ephemeral: ${{ steps.sanitize.outputs.workspace }}
Expand Down Expand Up @@ -157,8 +155,7 @@ jobs:
with:
comment-id: "${{ steps.comment.outputs.comment-id }}"
token: ${{ secrets.PAT }}
repository: "${{ github.event.pull_request.repository || github.event.client_payload.pull_request.repository }}"
issue-number: "${{ github.event.pull_request.number || github.event.client_payload.pull_request.number }}"
issue-number: "${{ github.event.pull_request.number }}"
comment-author: fluencebot
body: |
## ephemeral: ${{ steps.sanitize.outputs.workspace }}
Expand Down

0 comments on commit 8633294

Please sign in to comment.