A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Pandapip1/jekyll-label-action below:

Pandapip1/jekyll-label-action: Automatically add labels depending on Jekyll front matter attributes

Automatically adds labels depending on what files are modified in a pull request.

This action is meant to be used as a standalone workflow:

# File name: jekyll-label-action.yml
on:
  pull_request_target:

jobs:
  jekyll-label-action:
    name: Automatic Label Bot
    runs-on: ubuntu-latest
    
    steps:
      - uses: Pandapip1/jekyll-label-action@bfc2f4c2e738017a20b4822c229f02d1db79c59b
        with:
          token: ${{ secrets.GITHUB_TOKEN }}  # Valid GitHub token
          config-path: .jekyll-labels.yml          # Path to config file

This action uses a configuration file (default: .jekyll-labels.yml). The format is simple:

label-to-apply: this?.new?.property == 'value'
"other-label-to-apply-that-requires-quotes": this?.old?.property2 == 'value2'

See ethereum/EIPs for a proper example.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4