Skip to content

Commit

Permalink
ci: sync with template repository
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 5, 2023
1 parent 8de55dc commit d0e2ec6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 47 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/check.yaml

This file was deleted.

6 changes: 5 additions & 1 deletion .github/workflows/merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
steps:
- name: Check
run: |
set -o errexit
set -o nounset
set -o pipefail
function checks() {
(gh pr checks "${{ github.event.pull_request.html_url }}" || true) |
grep --invert-match "${{ github.run_id }}"
Expand Down Expand Up @@ -55,7 +59,7 @@ jobs:
github.event.pull_request.user.login == 'pre-commit-ci[bot]'
runs-on: ubuntu-latest
steps:
- name: Enable auto-merge
- name: Enable auto-merge (squash)
run: gh pr merge ${{ github.event.pull_request.html_url }} --auto --squash
env:
GH_TOKEN: ${{ github.token }}
2 changes: 1 addition & 1 deletion .github/workflows/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT }}
token: ${{ secrets.GH_TOKEN }}
- name: Sync with template repository
uses: liblaf/template@main
with:
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repos:
hooks:
- id: latexindent
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.13.0
rev: 3.12.0
hooks:
- id: commitizen
- repo: https://github.com/koalaman/shellcheck-precommit
Expand All @@ -41,7 +41,7 @@ repos:
- c++
- cuda
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.3
rev: v3.1.0
hooks:
- id: prettier
stages:
Expand Down

0 comments on commit d0e2ec6

Please sign in to comment.