Skip to content

Simple GitHub action that checks whether a PR was created using the PRB0t PR anonymiser.

Notifications You must be signed in to change notification settings

riseansmal/check-prb0t-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Check PRB0t action

Simple GitHub action that can be used to check whether a PR was created using the PRB0t PR anonymiser.

QuickStart

name: PRB0t check action
on: [pull_request]

jobs:
  prB0t_check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3

      # Check whether PRB0T was used.
      - uses: rickstaa/check-prb0t-action@v1
        id: prb0t_check

      # Print result using the env variable.
      -  run: |
          echo "PRB0t used: ${{ env.USED_PRB0T }}"

      # Print result using the action output.
      - run: |
          echo "PRB0t used: ${{ steps.prb0t_check.outputs.used_prb0t }}"

Inputs

This action does not yet have any inputs.

Outputs

used_prb0t

Boolean specifying whether the PR was created using PRB0t.

Environment variables

USED_PRBOT

Boolean specifying whether the PR was created using PRB0t.

Contributing

Feel free to open an issue if you have ideas on how to make this GitHub action better or if you want to report a bug! All contributions are welcome. ๐Ÿš€ Please consult the contribution guidelines for more information.

About

Simple GitHub action that checks whether a PR was created using the PRB0t PR anonymiser.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%