Skip to content

Commit

Permalink
Update stars.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BirjuVachhani authored Sep 14, 2023
1 parent 1423617 commit 1945d1d
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/stars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,7 @@ on:
types: [started]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Print Info
run: |
REPO="$(echo '${{ github.repository }}' | cut -d'_' -f2)"
echo "$REPO"
echo "Event: ${{ github.event_name }}"
echo "User: ${{ github.actor }}"
echo "Done!"
- name: Ntfy
run: |
REPO="$(echo '${{ github.repository }}' | cut -d'_' -f2)"
curl -d "${{ github.actor }} starred $REPO" ${{ secrets.NTFY_TOPIC }}
notify:
uses: BirjuVachhani/shared-workflows/.github/workflows/stars.yml@main
secrets:
ntfy_url: ${{ secrets.NTFY_TOPIC }}

0 comments on commit 1945d1d

Please sign in to comment.