diff --git a/.github/workflows/main.yml b/.github/workflows/qiniu.yml similarity index 100% rename from .github/workflows/main.yml rename to .github/workflows/qiniu.yml diff --git a/.github/workflows/star.yml b/.github/workflows/star.yml new file mode 100644 index 00000000..f218da38 --- /dev/null +++ b/.github/workflows/star.yml @@ -0,0 +1,17 @@ +name: Send message on star + +on: + watch: + types: [started] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: send bark message + run: | + repo=${GITHUB_REPOSITORY//\//:} + actor=$GITHUB_ACTOR + curl https://api.day.app/EweNWLE36rvVR8EFfWGq7k/$actor%20star%20了你的仓库/$repo \ No newline at end of file