Skip to content

Iterating Treasury and Bounty Pallets: Proposed Updates #4764

Iterating Treasury and Bounty Pallets: Proposed Updates

Iterating Treasury and Bounty Pallets: Proposed Updates #4764

name: Inform of new command action
on:
issue_comment:
types: [created]
jobs:
comment:
runs-on: ubuntu-latest
# Temporary disable the bot until the new command bot works properly
if: github.event.issue.pull_request && startsWith(github.event.comment.body, 'bot ') && false
steps:
- name: Inform that the new command exist
uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'We are migrating the command bot to be a GitHub Action<br/><br/>Please, see the <a href="https://github.com/paritytech/polkadot-sdk/blob/master/.github/commands-readme.md">documentation on how to use it</a>'
})