Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/slash-commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
id: generate-token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ secrets.KAL_APP_ID }}
private-key: ${{ secrets.KAL_PRIVATE_KEY }}
app-id: ${{ secrets.BOT_APP_ID }}
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
- uses: actions/checkout@v4
- uses: dagger/dagger-for-github@8.0.0
- name: slash agent
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
id: generate-token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ secrets.KAL_APP_ID }}
private-key: ${{ secrets.KAL_PRIVATE_KEY }}
app-id: ${{ secrets.BOT_APP_ID }}
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
- uses: actions/checkout@v4
- uses: dagger/dagger-for-github@8.0.0
- name: Check
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/usage-comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Add comment to PR
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
Test this PR by running the following command:

```
dagger -m github.com/kpenfound/greetings-api@pull/${{ github.event.pull_request.number }}/head call check
dagger -m github.com/jpadams/greetings-api@pull/${{ github.event.pull_request.number }}/head call check
```

Run this branch locally:

```
dagger -m github.com/kpenfound/greetings-api@pull/${{ github.event.pull_request.number }}/head call serve up
dagger -m github.com/jpadams/greetings-api@pull/${{ github.event.pull_request.number }}/head call serve up
```
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<div class="container mx-auto px-4 py-8 max-w-screen-md">
<h1 class="text-3xl font-bold mb-4">Greetings Daggernauts</h1>
<div id="greetingDisplay" class="greeting bg-purple-700 rounded shadow p-4 min-h-20 flex items-center justify-center">
Click the button to see a greeting!
Click the button to see a SwampUP greeting!
</div>
<button id="randomGreetingButton" class="bg-purple-500 hover:bg-purple-400 text-white font-bold py-2 px-4 rounded mt-4">👋</button>
<button id="randomGreetingButton" class="bg-purple-500 hover:bg-purple-400 text-white font-bold py-2 px-4 rounded mt-4">🐸</button>
</div>

<script>
Expand Down