Skip to content

Commit 5f40bad

Browse files
authored
Update setup.yml
1 parent f8454b3 commit 5f40bad

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/setup.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
name: Setup Plugin
22

33
on:
4-
create:
4+
push:
55

66
jobs:
7-
setup:
8-
if: github.run_number == 1
7+
init:
8+
if: github.event.before == '0000000000000000000000000000000000000000'
99
runs-on: ubuntu-latest
1010
permissions:
1111
contents: write
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414

1515
- name: Initialize
1616
run: |
@@ -23,6 +23,6 @@ jobs:
2323
sed -i "s/%name%/${{ github.event.repository.name }}/g" ./plugin/Plugin.php
2424
sed -i "s/%description%/${{ github.event.description }}/g" ./plugin/Plugin.php
2525
26-
- uses: stefanzweifel/git-auto-commit-action@v4
26+
- uses: stefanzweifel/git-auto-commit-action@v5
2727
with:
28-
commit_message: "Setup project for ${{ github.event.repository.name }}"
28+
commit_message: "Setup project for ${{ github.event.repository.name }}"

0 commit comments

Comments
 (0)