17 lines
471 B
YAML
17 lines
471 B
YAML
on: [push, pull_request, release]
|
|
|
|
name: MeterSphere pull request handler
|
|
|
|
jobs:
|
|
generic_handler:
|
|
name: Generic handler for MeterSphere Repos
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Add labels
|
|
uses: jumpserver/action-generic-handler@master
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}
|
|
- uses: actions/checkout@v2
|
|
- uses: actions-ecosystem/action-add-labels@v1
|
|
with:
|
|
labels: ${{ github.base_ref }} |