forked from seqan/seqan3
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 929 Bytes
/
hide_comments.yml
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
30
31
32
33
34
name: Hide bot comments
on:
workflow_dispatch:
inputs:
author:
description: 'Comment author'
required: true
default: 'github-actions'
type: choice
options:
- github-actions
- github-actions[bot]
- seqan-actions
issue_number:
description: 'The issue number'
required: true
type: string
leave_visible:
description: 'The number of most recent comments to leave untouched'
required: false
default: '0'
jobs:
hide-comments-action:
runs-on: ubuntu-latest
steps:
- name: Hide comments
uses: kanga333/[email protected]
with:
github_token: ${{ secrets.SEQAN_ACTIONS_PAT }}
hide_user_name: ${{ github.event.inputs.author }}
issue_number: ${{ github.event.inputs.issue_number }}
leave_visible: ${{ github.event.inputs.leave_visible }}