Skip to content

Commit

Permalink
[update #24] workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
tiawl committed Apr 28, 2024
2 parents e37292b + 3de79f8 commit 3adb01e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tiawl/spaceporn-dep-action-bot@v1.0.0
with:
repository: "${{ github.repository }}"
token: "${{ github.token }}"
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
- spaceporn
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tiawl/spaceporn-dep-action-ci@v1.0.0
with:
repository: "${{ github.repository }}"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ping.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
- spaceporn
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tiawl/spaceporn-dep-action-cd-ping@v1
with:
repository_name: "${{ github.event.repository.name }}"
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/pong.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ name: cd pong
on:
repository_dispatch:
types:
- ping
- ping-toolbox
- ping-glfw.zig
- ping-spaceporn-dep-action-bot
- ping-spaceporn-dep-action-ci
- ping-spaceporn-dep-action-cd-ping
- pingspaceporn-dep-action-cd-pong

jobs:
pong:
Expand All @@ -12,12 +17,9 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: "${{ secrets.PAT }}"
- uses: tiawl/spaceporn-dep-action-cd-pong@v1
if: contains(fromJSON('["toolbox","glfw.zig","spaceporn-dep-action-bot","spaceporn-dep-action-ci","spaceporn-dep-action-cd-ping", "spaceporn-dep-action-cd-pong"]'), github.event.client_payload.dependency)
with:
repository: "${{ github.repository }}"
dependency: "${{ github.event.client_payload.dependency }}"
tag: "${{ github.event.client_payload.tag }}"
hash: "${{ github.event.client_payload.hash }}"
Expand Down

0 comments on commit 3adb01e

Please sign in to comment.