Skip to content

Commit 58d4247

Browse files
committed
Adds test post install workflow
1 parent c42d5c8 commit 58d4247

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/workflows/receive_install.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Receive install event
2+
on:
3+
repository_dispatch:
4+
types: [install]
5+
6+
jobs:
7+
receive_install:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
contents: write
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Write payload to file
16+
run: |
17+
echo "Installed by ${{ github.event.client_payload.user }} on ${{ github.event.client_payload.install_time }}" >> README.md
18+
19+
- name: Commit and push
20+
run: |
21+
git config --local user.email "app@commit.email"
22+
git config --local user.name "commit.email"
23+
git add README.md
24+
git commit -m "Post-install test commit"
25+
git push

.github/workflows/task_inspector.yml

Whitespace-only changes.

0 commit comments

Comments
 (0)