mirror of
https://github.com/logto-io/logto.git
synced 2025-02-03 21:48:55 -05:00
ci: fixing conflict (#97)
This commit is contained in:
parent
1352cce911
commit
d9cbab0355
1 changed files with 0 additions and 26 deletions
26
.github/workflows/add-labels.yml
vendored
26
.github/workflows/add-labels.yml
vendored
|
@ -10,33 +10,7 @@ jobs:
|
|||
add_labels:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
<<<<<<< HEAD
|
||||
- uses: logto-io/actions-add-labels-run-steps@v1.0.1
|
||||
=======
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Extract Label
|
||||
id: extract-label
|
||||
run: |
|
||||
echo "::set-output name=labels_to_add::$(
|
||||
node -e "
|
||||
const title = process.env.TITLE;
|
||||
const labelMapping = {
|
||||
chore: 'chore',
|
||||
feat: 'feature',
|
||||
fix: 'bugfix',
|
||||
refactor: 'enhancement',
|
||||
test: 'testing',
|
||||
};
|
||||
const foundKey = Object.keys(labelMapping).find((label) => title && title.startsWith(label));
|
||||
console.log(foundKey ? labelMapping[foundKey] : '');
|
||||
"
|
||||
)"
|
||||
env:
|
||||
TITLE: ${{ github.event.pull_request.title || github.event.issue.title }}
|
||||
|
||||
- uses: actions-ecosystem/action-add-labels@v1.1.0
|
||||
>>>>>>> 5dc8d4c (test(core): add unit tests for database utils)
|
||||
with:
|
||||
title: ${{ github.event.pull_request.title || github.event.issue.title }}
|
||||
github-token: ${{ github.token }}
|
||||
|
|
Loading…
Add table
Reference in a new issue