Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on: pull_request
#on: [pull_request, push]

jobs:
show:
typos:
name: Spell Check
runs-on: ubuntu-latest
steps:
- name: Show Env
# run: echo "Env ${{ env.ENV_ID }}
run: echo "Env for ci website pr"
- uses: taiki-e/checkout-action@v1
- uses: crate-ci/typos@v1.26.0
with:
files: .
28 changes: 28 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Check PR

on:
pull_request_target:
types:
- opened
- edited
- synchronize

jobs:
update-pr-description:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update PR Description
uses: nefrob/pr-description@v1.1.2
with:
content: "Hello there!"
regex: ".*"
regexFlags: s
token: ${{ secrets.GITHUB_TOKEN }}
pr:
runs-on: ubuntu-latest
steps:
- name: Show Env
# run: echo "Env ${{ env.ENV_ID }}
run: echo "Env for ci website pr"
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
"files": {
"ignore": [".next", "./**/*config.js", "./**/*.d.ts"],
"ignoreUnknown": true
Expand Down
2 changes: 1 addition & 1 deletion docs/TODO.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
https://stackoverflow.com/questions/76464269/how-to-rerun-a-github-action-workflow-from-the-command-line-and-have-the-status
https://stackoverflow.com/questions/69893875/watch-gh-actions-workflow-output-in-cli

# fix release automation
# fix release automation
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
"clean": "rimraf .next out",
"bump": "changeset version",
"pr:deploy": "git push origin develop && gh pr create -H develop -B master --fill",
"pr:push": "gh pr create --body '${nr git-cliff -l}' --title pr:deploy -d",
"pr:push": "gh pr create --body \"$(nr git-cliff -l)\" --title pr:for-develop --base develop -d --dry-run",
"pr:edit": "gh pr edit \"$(nr pr:number)\" --body \"$(nr git-cliff -l)\" --title pr:develop --base develop",
"pr:list": "gh pr list --state open --json number,title | jq -r '.[] | [.number, .title] | @tsv'",
"pr:l": "(echo -e 'PR Number\tTitle'; gh pr list --state open --json number,title | jq -r '.[] | [.number, .title] | @tsv') | column -t",
"pr:number": "gh pr view --json number --jq '.number' ",
"gh:workflows": "gh workflow view",
"ci:spelling": "act -j spelling",
"ci:local": "act pull_request",
Expand Down
Loading