From 5e994dc893d1d36a68a0416ff56e6782824fbdba Mon Sep 17 00:00:00 2001 From: lumirlumir Date: Tue, 10 Sep 2024 03:54:00 +0000 Subject: [PATCH 1/7] sync-server: synced local './.github/ISSUE_TEMPLATE/bug.md' with remote './configs/.github/ISSUE_TEMPLATE/bug.md' --- .github/ISSUE_TEMPLATE/bug.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md index b79279d..a5fcfbf 100644 --- a/.github/ISSUE_TEMPLATE/bug.md +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -22,7 +22,7 @@ title: 'Bug: ' Link to code example: From 7dbacefa934bd5f26c03a009f04a848f06eb04ed Mon Sep 17 00:00:00 2001 From: lumirlumir Date: Tue, 10 Sep 2024 03:54:00 +0000 Subject: [PATCH 2/7] sync-server: synced local './.github/workflows/bump.yml' with remote './configs/.github/workflows/bump.yml' --- .github/workflows/bump.yml | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index 6bf944d..5d27780 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -2,10 +2,10 @@ on: workflow_dispatch: inputs: type: - description: 'Select the type of version bump' + description: Select the type of version bump required: true type: choice - default: 'patch' + default: patch options: - patch - minor @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest env: - GH_TOKEN: ${{ secrets.GH_PAT }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - name: Set up checkout @@ -37,28 +37,23 @@ jobs: - name: Set up node_modules run: npm ci - - name: Set up SHA - run: echo "SHORT_SHA=${GITHUB_SHA:0:7}" >> $GITHUB_ENV - - - name: Set up old version - run: echo "OLD_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV + - name: Set up environment variables + run: | + echo "SHORT_SHA=${GITHUB_SHA:0:7}" >> $GITHUB_ENV + echo "OLD_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV - - name: Set up github + - name: Bump run: | git config --global user.name 'github-actions' git config --global user.email 'actions@github.com' git switch -c release-${{ inputs.type }}-${{ env.SHORT_SHA }} - - - name: Bump - run: | npm version ${{ inputs.type }} -m "release(${{ inputs.type }}): v%s" - - name: Set up new version + - name: Set up environment variables run: echo "NEW_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV - name: Push - run: | - git push --set-upstream origin release-${{ inputs.type }}-${{ env.SHORT_SHA }} + run: git push --set-upstream origin release-${{ inputs.type }}-${{ env.SHORT_SHA }} - name: Create pull request run: | From 49b89df7847ec81b5d3d6ccea8a1b27d5f9af4bc Mon Sep 17 00:00:00 2001 From: lumirlumir Date: Tue, 10 Sep 2024 03:54:00 +0000 Subject: [PATCH 3/7] sync-server: synced local './.github/workflows/labeler.yml' with remote './configs/.github/workflows/labeler.yml' --- .github/workflows/labeler.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index dccabce..05b06cd 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -8,10 +8,6 @@ jobs: labeler: runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: write - steps: - name: Labeler uses: jimschubert/labeler-action@v2 From 0fd8998fa42bc28e2f4fab7a2d32f27277450abd Mon Sep 17 00:00:00 2001 From: lumirlumir Date: Tue, 10 Sep 2024 03:54:00 +0000 Subject: [PATCH 4/7] sync-server: synced local './.github/workflows/lint.yml' with remote './configs/.github/workflows/lint.yml' --- .github/workflows/lint.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 37863e9..77de294 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,14 +9,6 @@ on: jobs: lint: - # strategy: - # matrix: - # type: - # - eslint - # - prettier - # - editorconfig - # - markdownlint - runs-on: ubuntu-latest steps: @@ -40,6 +32,3 @@ jobs: - name: Lint run: npm run lint - - # - name: Lint ${{ matrix.type }} - # run: npm run lint-${{ matrix.type }} --if-present From c6104bdb75f4973a73c9b8daa145ae9274af1d5d Mon Sep 17 00:00:00 2001 From: lumirlumir Date: Tue, 10 Sep 2024 03:54:00 +0000 Subject: [PATCH 5/7] sync-server: synced local './.github/workflows/sync-client.yml' with remote './configs/.github/workflows/sync-client.yml' --- .github/workflows/sync-client.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/sync-client.yml b/.github/workflows/sync-client.yml index 4acee49..439bb7f 100644 --- a/.github/workflows/sync-client.yml +++ b/.github/workflows/sync-client.yml @@ -12,7 +12,7 @@ jobs: - name: Set up checkout uses: actions/checkout@v4 - - name: Set up SHA + - name: Set up environment variables run: echo "SHORT_SHA=${GITHUB_SHA:0:7}" >> $GITHUB_ENV - name: Sync @@ -24,4 +24,3 @@ jobs: ASSIGNEES: ${{ github.repository_owner }} COMMIT_PREFIX: ${{ github.workflow }}${{':'}} PR_BODY: check out [`${{ env.SHORT_SHA }}`](https://github.com/${{ github.repository }}/commit/${{ github.sha }}) @${{ github.repository_owner }} :hatching_chick:. -# See https://docs.github.com/ko/actions/writing-workflows/choosing-what-your-workflow-does/contexts#github-context for more detailed context From fccf4652f3d8e3579dfc46d36d70f722bd962436 Mon Sep 17 00:00:00 2001 From: lumirlumir Date: Tue, 10 Sep 2024 03:54:00 +0000 Subject: [PATCH 6/7] sync-server: synced local './.github/PULL_REQUEST_TEMPLATE.md' with remote './configs/.github/PULL_REQUEST_TEMPLATE.md' --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 9cc69c2..6183486 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -2,7 +2,7 @@ Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. - Before making a pull request, please read our contributing guidelines in `README.md`. + Before making a pull request, read our contributing guidelines in `README.md`. --> # Title From aafa61db1ec0dc36d45e546f67e4c2ef5d7c95e8 Mon Sep 17 00:00:00 2001 From: lumirlumir Date: Tue, 10 Sep 2024 03:54:00 +0000 Subject: [PATCH 7/7] sync-server: synced local './.github/release.yml' with remote './configs/.github/release.yml' --- .github/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/release.yml b/.github/release.yml index b51a835..57c3161 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -10,7 +10,7 @@ changelog: labels: - feat - - title: 🐛 Bugfixes + - title: 🐛 Bug Fixes labels: - fix @@ -28,7 +28,7 @@ changelog: labels: - test - - title: ⬆️ Dependency updates + - title: ⬆️ Dependency Updates labels: - dependencies