Skip to content

[Demo] Slash command code formatting - Python#28

Open
retepsnave wants to merge 23 commits into
peter-evans:mainfrom
retepsnave:patch-1
Open

[Demo] Slash command code formatting - Python#28
retepsnave wants to merge 23 commits into
peter-evans:mainfrom
retepsnave:patch-1

Conversation

@retepsnave

@retepsnave retepsnave commented Feb 25, 2020

Copy link
Copy Markdown

Slash command code formatting - Python

Slash commands can be used to execute code formatting tools on pull request branches.
The slash commands are dispatched to slash-command-dispatch-processor repository to be processed by workflows here.

The code formatting workflow does the following:

  1. Check out the pull request branch
  2. Execute the code formatting tool
  3. Commit the changes to the pull request branch
  4. Add a 🎉 reaction to the comment containing the slash command

The following command formats Python using Black

/black

The demo can be reset with this command.

/reset-demo

Feel free to try it out! 💬

@peter-evans peter-evans added the demo This issue or pull request is for demonstration purposes label Feb 25, 2020
@peter-evans

Copy link
Copy Markdown
Owner

/black

@peter-evans

Copy link
Copy Markdown
Owner

/reset-demo

@tushar5526

Copy link
Copy Markdown

/black

@jenn4

jenn4 commented Jun 15, 2020

Copy link
Copy Markdown

/black

@jenn4

jenn4 commented Jun 15, 2020

Copy link
Copy Markdown

/reset-demo

@superarts

Copy link
Copy Markdown

/reset-demo

@superarts

Copy link
Copy Markdown

/black

@patrickjahns

Copy link
Copy Markdown

/reset-demo

@peter-evans

Copy link
Copy Markdown
Owner

/reset-demo

@arifsetyawan

Copy link
Copy Markdown

/reset-demo

@qbantek

qbantek commented Aug 23, 2021

Copy link
Copy Markdown

/ping

@qbantek

qbantek commented Aug 23, 2021

Copy link
Copy Markdown

/black

@qbantek

qbantek commented Aug 23, 2021

Copy link
Copy Markdown

/reset-demo

@chosh31

chosh31 commented Nov 9, 2021

Copy link
Copy Markdown

/black

@jakemongaya

Copy link
Copy Markdown

/black

2 similar comments
@kevnm67

kevnm67 commented Mar 16, 2023

Copy link
Copy Markdown

/black

@larsbuntemeyer

Copy link
Copy Markdown

/black

@larsbuntemeyer

Copy link
Copy Markdown

/reset-demo

@vidhya03

vidhya03 commented Jan 31, 2024

Copy link
Copy Markdown

/black

1 similar comment
@vidhya03

Copy link
Copy Markdown

/black

@vidhya03

Copy link
Copy Markdown

/black

@vidhya03

vidhya03 commented Jan 31, 2024

Copy link
Copy Markdown

/help

Command Description
/hello-world Commit a greeting from the world to hello-world.txt
/black Format Python using Black
/reset-demo Reset the code formatting demo

@StephenWeatherford

Copy link
Copy Markdown

/blck

@StephenWeatherford

Copy link
Copy Markdown

/black

@StephenWeatherford

StephenWeatherford commented Feb 10, 2024

Copy link
Copy Markdown

/help

Command Description
/hello-world Commit a greeting from the world to hello-world.txt
/black Format Python using Black
/reset-demo Reset the code formatting demo

@StephenWeatherford

Copy link
Copy Markdown

/reset-demo

@atin-tandon-mm

atin-tandon-mm commented Apr 1, 2024

Copy link
Copy Markdown

/help

Command Description
/hello-world Commit a greeting from the world to hello-world.txt
/black Format Python using Black
/reset-demo Reset the code formatting demo

@Zaid-maker

Copy link
Copy Markdown

/black

@shellymiron

Copy link
Copy Markdown

/hello-world

@gertzgal

Copy link
Copy Markdown

/black

@gertzgal

gertzgal commented Jun 26, 2024

Copy link
Copy Markdown

/help

Command Description
/hello-world Commit a greeting from the world to hello-world.txt
/black Format Python using Black
/reset-demo Reset the code formatting demo

@Zaid-maker

Copy link
Copy Markdown

/reset-demo

@fernandoaleman

fernandoaleman commented Oct 4, 2024

Copy link
Copy Markdown

/help

Command Description
/hello-world Commit a greeting from the world to hello-world.txt
/black Format Python using Black
/reset-demo Reset the code formatting demo

@amanjain-cb

Copy link
Copy Markdown

/reset-demo

@amanjain-cb

Copy link
Copy Markdown

/black

@badele

badele commented Dec 11, 2024

Copy link
Copy Markdown

/reset-demo
/black

@badele

badele commented Dec 11, 2024

Copy link
Copy Markdown

/black

1 similar comment
@Tunglies

Copy link
Copy Markdown

/black

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

Labels

demo This issue or pull request is for demonstration purposes

Projects

None yet

Development

Successfully merging this pull request may close these issues.