Skip to content

Introduce /cmd label for labelling pull requests#9915

Merged
bkchr merged 4 commits intomasterfrom
bkchr-label-bot
Oct 15, 2025
Merged

Introduce /cmd label for labelling pull requests#9915
bkchr merged 4 commits intomasterfrom
bkchr-label-bot

Conversation

@bkchr
Copy link
Copy Markdown
Member

@bkchr bkchr commented Oct 2, 2025

This allows external contributors to set label for their pull request.

Closes: #9873

This allows external contributors to set label for their pull request.
@bkchr bkchr requested review from a team as code owners October 2, 2025 18:18
@bkchr bkchr added the R0-no-crate-publish-required The change does not require any crates to be re-published. label Oct 2, 2025
is_org_member = os.environ.get('IS_ORG_MEMBER', 'false').lower() == 'true'
is_pr_author = os.environ.get('IS_PR_AUTHOR', 'false').lower() == 'true'

if not is_org_member and not is_pr_author:
Copy link
Copy Markdown
Contributor

@EgorPopelyaev EgorPopelyaev Oct 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this if condition be OR instead of AND as it mentioned in the error message below?
"Only the PR author or organization members can modify labels"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you are not an org member AND not the pr author, you are authorized. Expressed differently, when you are an org member it resolves to false. If you are not an org member, it checks if you are the author.

@EgorPopelyaev EgorPopelyaev requested a review from a team October 3, 2025 08:11
@bkchr bkchr added this pull request to the merge queue Oct 15, 2025
Merged via the queue into master with commit 8fa12ea Oct 15, 2025
248 of 249 checks passed
@bkchr bkchr deleted the bkchr-label-bot branch October 15, 2025 12:17
alvicsam pushed a commit that referenced this pull request Oct 17, 2025
This allows external contributors to set label for their pull request.


Closes: #9873
TorstenStueber pushed a commit that referenced this pull request Oct 30, 2025
Fix maxPriorityFee RPC

Change the EVM call opcodes to use proper gas for subcalls

Update tests-evm.yml

Update from github-actions[bot] running command 'prdoc --audience runtime_dev'

fix

fix

[pallet-revive] fix subxt submit & add debug statments (#10016)

- Fix subxt submit by default it's using
`author_submitAndWatchExtrinsic` even though we just want to fire and
forget
- Add debug instructions to log the signer & nonce of new eth
transactions when the node validate the transaction

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>

Version bumps and prdocs reordering from stable2509 (#9974)

This PR backports regular version bumps and prdocs reordering from the
stable2509 branch back to master

---------

Co-authored-by: ParityReleases <release-team@parity.io>

Update .github/workflows/tests-evm.yml

[Release|CI/CD] Fix polkadot prod docker image (#9975)

This PR introduces a workaround to fix failing polkadot production image
flow.
The initial issue is that, for some reason, our key that used to sign
the deb `InRelease` repo noted as expired on the first `apt update` run.
But reimport of the same key fixes is it. Until the reason for this
issue is fixed, this work around helps to keep the flow working

Introduce `/cmd label` for labelling pull requests (#9915)

This allows external contributors to set label for their pull request.

Closes: #9873

Use parity-large-persistent-test for merge queue (#10025)

Investigating issue with removing persistent runners from merge queue

cc paritytech/devops#3875

pallet_revive: Lower the deposit costs for child trie items (#10027)

Fixes #9246

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>

pallet_revive: Fix incorrect `block.gaslimit` (#10026)

Fixes paritytech/contract-issues#112

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>

update tests-evm
TorstenStueber pushed a commit that referenced this pull request Oct 30, 2025
Fix maxPriorityFee RPC

Change the EVM call opcodes to use proper gas for subcalls

Update tests-evm.yml

Update from github-actions[bot] running command 'prdoc --audience runtime_dev'

fix

fix

[pallet-revive] fix subxt submit & add debug statments (#10016)

- Fix subxt submit by default it's using
`author_submitAndWatchExtrinsic` even though we just want to fire and
forget
- Add debug instructions to log the signer & nonce of new eth
transactions when the node validate the transaction

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>

Version bumps and prdocs reordering from stable2509 (#9974)

This PR backports regular version bumps and prdocs reordering from the
stable2509 branch back to master

---------

Co-authored-by: ParityReleases <release-team@parity.io>

Update .github/workflows/tests-evm.yml

[Release|CI/CD] Fix polkadot prod docker image (#9975)

This PR introduces a workaround to fix failing polkadot production image
flow.
The initial issue is that, for some reason, our key that used to sign
the deb `InRelease` repo noted as expired on the first `apt update` run.
But reimport of the same key fixes is it. Until the reason for this
issue is fixed, this work around helps to keep the flow working

Introduce `/cmd label` for labelling pull requests (#9915)

This allows external contributors to set label for their pull request.

Closes: #9873

Use parity-large-persistent-test for merge queue (#10025)

Investigating issue with removing persistent runners from merge queue

cc paritytech/devops#3875

pallet_revive: Lower the deposit costs for child trie items (#10027)

Fixes #9246

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>

pallet_revive: Fix incorrect `block.gaslimit` (#10026)

Fixes paritytech/contract-issues#112

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>

update tests-evm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

R0-no-crate-publish-required The change does not require any crates to be re-published.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bot command to add label

4 participants