kachick / action-typescript-template

GitHub Actions with TypeScript template for my own

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

my-new-action

Test & Lint

There is a sin of omission as well as of commission.

Usage

I recommend to use timeout-minutes together with as easy fool proof.
Below is a typical usecase.

name: Description of the workflow
on: pull_request

permissions:
  contents: write
  pull-requests: write
  # checks: read # For private repositories
  # actions: read # For private repositories

jobs:
  example-of-my-new-action:
    runs-on: ubuntu-latest
    if: ${{ github.actor == 'dependabot[bot]' }}
    steps:
      - uses: actions/checkout@v3
      - uses: kachick/my-new-action@v1
        timeout-minutes: 15

NOTE - Motivation to create own template

actions/typescript-action is the official template.
However, it does not seem to be updated often.
And applied my favorite environment preparations.

About

GitHub Actions with TypeScript template for my own

License:MIT License


Languages

Language:TypeScript 81.6%Language:Nix 18.4%