-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use rfc action v0.0.2 * Readme
- Loading branch information
Showing
2 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
11 changes: 6 additions & 5 deletions
11
.github/workflows/rfc-propose.yml → .github/workflows/rfc-action.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
name: RFC propose | ||
name: RFC action | ||
|
||
on: | ||
issue_comment: | ||
types: [created] | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: write | ||
|
||
jobs: | ||
rfc-propose: | ||
name: Propose an RFC creation transaction | ||
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/rfc-propose') }} | ||
rfc-action: | ||
name: Handle an RFC-related command | ||
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/rfc') }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: paritytech/rfc-propose@ae558a3c03f562362b78babdc72697f5f5fbb3af # v0.0.1 | ||
- uses: paritytech/rfc-action@f7f859cf3ef3e10a4a64289f59df74c71b8de54f # v0.0.2 | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters