Skip to content

Commit

Permalink
Fix errors in PREview notifications
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Rockwood <[email protected]>
  • Loading branch information
benr committed Feb 29, 2024
1 parent add2624 commit b2360ef
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/PREview-create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
message: |
**Starting creation of the PREview environment...**
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: "github-actions[bot]"
allow-repeats: true
- name: Obtain Bucket Name
uses: ./.github/actions/PREview-data
Expand All @@ -35,9 +34,8 @@ jobs:
if: success()
with:
message: |
**PREview is ready at [${{ env.URL }}](${{ env.URL }})**
**PREview environment has been created at [${{ env.URL }}](${{ env.URL }})**
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: "github-actions[bot]"
allow-repeats: true

data:
Expand Down Expand Up @@ -83,5 +81,4 @@ jobs:
message: |
**PREview has been updated at ${{ needs.data.outputs.url }}**
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: "github-actions[bot]"
allow-repeats: true
2 changes: 0 additions & 2 deletions .github/workflows/PREview-delete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
message: |
**Cleaning up PREview environment...**
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: "github-actions[bot]"
allow-repeats: true
- name: Obtain Bucket Name
uses: ./.github/actions/PREview-data
Expand All @@ -33,5 +32,4 @@ jobs:
message: |
**PREview environment deleted.**
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: "github-actions[bot]"
allow-repeats: true
1 change: 0 additions & 1 deletion .github/workflows/PREview-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,4 @@ jobs:
message: |
**PREview has been updated at ${{ needs.data.outputs.url }}**
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: "github-actions[bot]"
allow-repeats: true
1 change: 0 additions & 1 deletion .github/workflows/deploy-mondoo-love.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,4 @@ jobs:
**Deployment to mondoo.love/docs complete!**
[https://mondoo.love/docs](https://mondoo.love/docs)
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: "github-actions[bot]"
allow-repeats: false

0 comments on commit b2360ef

Please sign in to comment.