Skip to content

Commit 75d412f

Browse files
committed
actions update
update update update update update update update
1 parent 24a723f commit 75d412f

File tree

5 files changed

+90
-19
lines changed

5 files changed

+90
-19
lines changed

.github/potential-duplicates.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/release-drafter.yml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
1+
version-template: 'v21.$MINOR.$PATCH'
2+
name-template: '$RESOLVED_VERSION'
3+
tag-template: '$RESOLVED_VERSION'
4+
categories:
5+
- title: '🚀 Features'
6+
labels:
7+
- 'feature'
8+
- 'enhancement'
9+
- title: '🐛 Bug Fixes'
10+
labels:
11+
- 'fix'
12+
- 'bugfix'
13+
- 'bug'
14+
- title: '🧰 Maintenance'
15+
label: 'chore'
16+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
17+
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
18+
version-resolver:
19+
minor:
20+
labels:
21+
- 'release'
22+
patch:
23+
labels:
24+
- 'hotfix'
25+
default: patch
126
template: |
2-
## What’s Changed
27+
## Changes
328
429
$CHANGES

.github/workflows/git-sync.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,17 @@ on:
55
push:
66
branches:
77
- master
8-
- 'develop'
9-
8+
- develop
109
jobs:
11-
repo-sync:
10+
GitHub-to-Bitbucket:
1211
runs-on: ubuntu-latest
1312
steps:
14-
- name: webfactory/ssh-agent
13+
- name: webfactory/ssh-agent@v0.5.3
1514
uses: webfactory/[email protected]
1615
with:
1716
ssh-private-key: ${{ secrets.BITBUCKET_SECRET }}
1817

19-
- name: repo-sync
18+
- name: wei/git-sync@v3.0.0
2019
2120
with:
2221
ssh_private_key: ${{ secrets.BITBUCKET_SECRET }}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Potential Duplicates
2+
on:
3+
issues:
4+
types: [opened, edited]
5+
jobs:
6+
run:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: wow-actions/potential-duplicates@v1
10+
with:
11+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12+
# Issue title filter work with anymatch https://www.npmjs.com/package/anymatch.
13+
# Any matched issue will stop detection immediately.
14+
# You can specify multi filters in each line.
15+
filter: ''
16+
# Exclude keywords in title before detecting.
17+
exclude: ''
18+
# Label to set, when potential duplicates are detected.
19+
label: potential-duplicate
20+
# Get issues with state to compare. Supported state: 'all', 'closed', 'open'.
21+
state: all
22+
# If similarity is higher than this threshold([0,1]), issue will be marked as duplicate.
23+
threshold: 0.6
24+
# Reactions to be add to comment when potential duplicates are detected.
25+
# Available reactions: "-1", "+1", "confused", "laugh", "heart", "hooray", "rocket", "eyes"
26+
#reactions: 'eyes, confused'
27+
# Comment to post when potential duplicates are detected.
28+
comment: >
29+
Potential duplicates: {{#issues}}
30+
- [#{{ number }}] {{ title }} ({{ accuracy }}%)
31+
{{/issues}}

.github/workflows/release-drafter.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
# branches to consider in the event; optional, defaults to all
6+
branches:
7+
- master
8+
# pull_request event is required only for autolabeler
9+
pull_request:
10+
# Only following types are handled by the action, but one can default to all as well
11+
types: [opened, reopened, synchronize]
12+
13+
jobs:
14+
update_release_draft:
15+
runs-on: ubuntu-latest
16+
steps:
17+
# (Optional) GitHub Enterprise requires GHE_HOST variable set
18+
#- name: Set GHE_HOST
19+
# run: |
20+
# echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV
21+
22+
# Drafts your next Release notes as Pull Requests are merged into "master"
23+
- uses: release-drafter/release-drafter@v5
24+
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
25+
# with:
26+
# config-name: my-config.yml
27+
# disable-autolabeler: true
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)