damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 5a1daebeca8bc640809bbc3e754702a5bfc4b2aa
parent 08666ff90d02114a57b34282dd36a509009b374d
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 12 Jan 2023 08:45:55 -0800

Revert "feat(ci): Publish PR notifications to Nostr"

This reverts commit aee29f145a17dbad395b9bcf06999c198e9cf184.

Diffstat:
D.github/workflows/pr-to-nostr.yaml | 33---------------------------------
1 file changed, 0 insertions(+), 33 deletions(-)

diff --git a/.github/workflows/pr-to-nostr.yaml b/.github/workflows/pr-to-nostr.yaml @@ -1,33 +0,0 @@ -name: Nostr PR Notifier -on: - pull_request: - types: [opened, reopened] -jobs: - Notify: - runs-on: ubuntu-latest - env: - # Set in Github repo > Settings > Secrets and Variables - NOSTR_KEY: ${{ secrets.NOSTR_KEY }} - # Event vars - PR_URL: ${{ github.event.pull_request.html_url }} - PR_TITLE: ${{ github.event.pull_request.title }} - PR_AUTHOR: ${{ github.event.pull_request.user.login }} - PR_BODY: ${{ github.event.pull_request.body }} - steps: - - name: Setup Go - uses: actions/setup-go@v2 - with: - go-version: '1.19.0' - - run: go install github.com/fiatjaf/noscl@latest - - run: which noscl - - run: noscl setprivate $NOSTR_KEY - - run: noscl relay add wss://relay.damus.io - - run: noscl relay add wss://brb.io - - run: noscl relay add wss://relay.nostr.info - - run: noscl relay add wss://nostr.zebedee.cloud - - run: noscl relay add wss://nostr.orangepill.dev - - run: noscl relay add wss://nostr.v0l.io - - run: noscl relay add wss://nostr.fmt.wiz.biz - - run: | - msg=$(printf "Pull request opened by $PR_AUTHOR\n$PR_TITLE\n$PR_URL") \ - && noscl publish "$msg"