Skip to content

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MarleneJiang committed Jul 28, 2023
1 parent 50ce372 commit 12dcff4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,14 @@ jobs:
echo "Unclosed pull request is existing."
exit 1
- name: Checkout
uses: actions/checkout@v3
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm

- name: Install dependencies
run: npm ci

# - name: Get merged linked PR
# id: get_merged_linked_pr
Expand Down Expand Up @@ -126,7 +132,7 @@ jobs:
run: |
new_branch_name=$(echo "${ISSUE_NUM}-$(TZ=UTC-9 date '+%Y%m%d')")
echo "::set-output name=new_branch_name::$new_branch_name"
- name: Create branch
uses: EndBug/add-and-commit@v9
with:
Expand Down Expand Up @@ -224,7 +230,6 @@ jobs:
issue-number: ${{ github.event.issue.number }}
body: ${{ steps.render.outputs.result }}


- name: Remove label validation/succeeded
if: env.ACT == false && contains(github.event.issue.labels.*.name, 'validation/succeeded')
uses: actions/github-script@v6
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# IssueOps
<div align="center">
<h1>IssueOps</h1></div>

通过issue触发自动化校验,然后提交pr
<p align="center">
<img src="https://wakatime.com/badge/user/5bfd81bc-9515-462b-a942-069791b283b7/project/af5f20a2-48c4-4ffb-81b8-7c330a9ee330.svg?style=flat-square" alt="Develop time"/>

pr合并触发关联issue关闭
</p>
<p align="center">通过issue触发自动化校验,然后提交pr</p>

## 参考文档

Expand Down

0 comments on commit 12dcff4

Please sign in to comment.