Discover Packages
github.com/paulfantom/periodic-labeler
command
module
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Jan 6, 2020
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Branch Cleanup Action
A GitHub action to automatically label all PRs according to file patterns.
Table of Contents
Usage
Action is meant to be run as periodic job. This is needed to workaround issues regarding
lack of write access when executed from fork
which is a common problem when using https://github.com/actions/labeler .
---
name: Pull request labeler
on:
schedule:
- cron: '*/5 * * * *'
jobs:
labeler:
runs-on: ubuntu-latest
steps:
- uses: paulfantom/periodic-labeler@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
LABEL_MAPPINGS_FILE: .github/labeler.yml
By default action uses .github/labeler.yml located in repository from GITHUB_REPOSITORY as a source of pattern matchers.
This file uses the same schema as in https://github.com/actions/labeler
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.