File: triage.yml

package info (click to toggle)
golang-github-smallstep-cli-utils 0.12.1%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 448 kB
  • sloc: makefile: 24
file content (29 lines) | stat: -rw-r--r-- 613 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Add Issues and PRs to Triage

on:
  issues:
    types:
      - opened
  pull_request_target:
    types:
      - opened

jobs:

  label:
    name: Label PR
    runs-on: ubuntu-latest
    if: github.event_name == 'pull_request_target'
    steps:
    - uses: actions/labeler@v3.0.2
      with:
        repo-token: "${{ secrets.GITHUB_TOKEN }}"

  add-to-project:
    name: Add to Triage Project
    runs-on: ubuntu-latest
    steps:
      - uses: actions/add-to-project@v0.3.0
        with:
          project-url: https://github.com/orgs/smallstep/projects/94
          github-token: ${{ secrets.TRIAGE_PAT }}