Skip to content

Commit

Permalink
updated readme with working example
Browse files Browse the repository at this point in the history
There were some problems setting it up with gh cli. I was missing some variables
  • Loading branch information
Bullrich committed Jan 17, 2024
1 parent 8cece16 commit 7c1030c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,16 @@ on:
- cron: '0 12 * * *'

jobs:
test_schedule:
notify_referendas:
runs-on: ubuntu-latest
steps:
- name: Get last run
run: echo "last=$(gh run list -w "$WORKFLOW" --json startedAt -q '.[0].startedAt')" >> "$GITHUB_OUTPUT"
id: date
env:
GH_TOKEN: ${{ github.token }}
WORKFLOW: ${{ github.workflow }}
GH_REPO: "${{ github.repository_owner }}/${{ github.event.repository.name }}"
- uses: paritytech/rfc-action@main
with:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 7c1030c

Please sign in to comment.