Skip to content

Hacker Laws Action

Actions
An action to add random hacker law as a comment to the pull request
v1
Latest
Star (7)

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.

Hacker Laws Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

An action to add random hacker law as a comment to the pull request
v1
Latest

Hacker Laws Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.