Skip to content

Resolvr-io/nostr-issues

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nostr-issues

A GitHub workflow action for managing issues

Example Usage

name: Publish Issue to Nostr
on:
  issues:
    types:
      - reopened
      - opened
jobs:
  label_issues:
    runs-on: ubuntu-latest
    permissions:
      issues: write
    steps:
      - name: Checkout repository
        uses: actions/checkout@v2
      - name: Publish Issue to Nostr
        uses: Resolvr-io/nostr-issues-test@v0.0.1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          repo: ${{ github.repository }}
          issue_number: ${{ github.event.issue.number }}
          nsec: ${{ secrets.NSEC }}
          kind: "1"
          tags: "[]"
          relays: '["wss://nos.lol", "wss://relay.damus.io"]'