Skip to content

An action to an add random hacker law as a comment to the pull request.

License

Notifications You must be signed in to change notification settings

umutphp/hacker-laws-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hacker Laws Action

An action to an add random hacker law (from dwmkerr/hacker-laws ) as a comment to the pull request.

A sample execution can be seen on this PR.

Usage

Use the following YAML to create the action file under the .github/workflows directory.

name: Hacker Laws Action

on: 
  pull_request:
    types: [opened]

jobs:
  hacker_laws_action:
    runs-on: ubuntu-latest
    name: Hacker Laws Action Job
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Hacker Laws Action Step
        env:
          PR_URL: ${{ github.event.pull_request.comments_url }}
          PR_SENDER: ${{ github.actor }}
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        uses: umutphp/hacker-laws-action@v1
        id: hacker_laws_action

Contributing

Please feel free to contribute to the action.

About

An action to an add random hacker law as a comment to the pull request.

Resources

License

Stars

Watchers

Forks

Packages

No packages published