Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Updated common files in HiromiShikata #89

Closed
wants to merge 2 commits into from
Closed
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
2 changes: 1 addition & 1 deletion .github/workflows/create-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
if: steps.create_pr.outputs.pr_number
id: get_pr_id
run: |
PR_DATA=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -H "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/${{ github.repository }}/pulls/${{ steps.create_pr.outputs.pr_number }}")
PR_DATA=$(curl -s -H "Authorization: token ${{ secrets.GH_TOKEN }}" -H "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/${{ github.repository }}/pulls/${{ steps.create_pr.outputs.pr_number }}")
PR_ID=$(echo "$PR_DATA" | jq -r '.node_id')
echo "::set-output name=node_id::$PR_ID"

Expand Down
23 changes: 17 additions & 6 deletions .github/workflows/empty-format-test-job.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
name: Empty format test

on:
push
on: push

jobs:
format:
runs-on: ubuntu-latest
steps:
- run: echo "format"
test:
runs-on: ubuntu-latest
steps:
- run: echo "test"

format:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: 20
- run: git pull
- run: npx prettier --write "**/*.{md,yaml,yml}" && git --no-pager diff
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'style: re-format / npx prettier --write "**/*.{md,yaml,yml}"'
Loading