Mirror of
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #4 from trueberryless-org/update-template-files

authored by

trueberryless and committed by
GitHub
57e0fea1 7b48ee2f

+69 -29
+1 -1
.changeset/config.json
··· 10 10 "access": "public", 11 11 "baseBranch": "main", 12 12 "updateInternalDependencies": "patch", 13 - "ignore": [] 13 + "ignore": ["starlight-save-file-component-docs"] 14 14 }
+31
.github/renovate.json5
··· 1 + { 2 + $schema: "https://docs.renovatebot.com/renovate-schema.json", 3 + extends: [ 4 + ":disableDependencyDashboard", 5 + ":semanticPrefixFixDepsChoreOthers", 6 + ":ignoreModulesAndTests", 7 + "workarounds:all", 8 + "helpers:pinGitHubActionDigestsToSemver", 9 + "docker:disable", 10 + ], 11 + rangeStrategy: "bump", 12 + ignorePaths: ["**/node_modules/**"], 13 + packageRules: [ 14 + { 15 + groupName: "github-actions", 16 + matchManagers: ["github-actions"], 17 + }, 18 + { 19 + matchManagers: ["npm"], 20 + groupName: "dependencies", 21 + matchDepTypes: ["devDependencies", "dependencies", "peerDependencies"], 22 + enabled: false, 23 + }, 24 + { 25 + description: "Disable package manager version updates", 26 + matchPackageNames: ["pnpm"], 27 + matchDepTypes: ["packageManager"], 28 + enabled: false, 29 + }, 30 + ], 31 + }
+5 -5
.github/workflows/format.yaml
··· 10 10 autofix: 11 11 runs-on: ubuntu-latest 12 12 steps: 13 - - uses: actions/checkout@v4 13 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 14 14 15 15 - name: Setup PNPM 16 - uses: pnpm/action-setup@v3 16 + uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0 17 17 18 18 - name: Setup Node 19 - uses: actions/setup-node@v4 19 + uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 20 20 with: 21 21 node-version: 20 22 22 cache: "pnpm" ··· 32 32 - name: Run pngquant 33 33 run: | 34 34 shopt -s globstar 35 - find . -name '*.png' -exec pngquant --ext .png --force 256 {} \; 35 + find . -name '*.png' -exec pngquant --ext .png 256 {} \; 36 36 37 - - uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c 37 + - uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef
+3 -3
.github/workflows/labeler.yaml
··· 11 11 steps: 12 12 - name: Generate GitHub App token 13 13 id: generate_token 14 - uses: tibdex/github-app-token@v2.1.0 14 + uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 15 15 with: 16 16 app_id: ${{ secrets.BOT_APP_ID }} 17 17 private_key: ${{ secrets.BOT_PRIVATE_KEY }} 18 18 19 - - uses: actions/checkout@v4 19 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 20 20 - name: Ensure labels exist 21 21 env: 22 22 GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} ··· 49 49 gh label create "🏯 styles" --description "Stylesheets or design updates" --color "550F5A" --force 50 50 gh label create "🔒 wontfix" --description "This will not be worked on" --color "FFFFFF" --force 51 51 52 - - uses: actions/labeler@v5 52 + - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5 53 53 with: 54 54 configuration-path: .github/labeler.yaml 55 55 sync-labels: true
+26 -17
.github/workflows/publish.yaml
··· 24 24 starlight-save-file-component: ${{ steps.filter.outputs.starlight-save-file-component }} 25 25 steps: 26 26 - name: Check out the repo 27 - uses: actions/checkout@v4 27 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 28 28 29 - - uses: dorny/paths-filter@v3 29 + - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 30 30 id: filter 31 31 with: 32 32 filters: | ··· 44 44 steps: 45 45 - name: Generate GitHub App token 46 46 id: generate_token 47 - uses: tibdex/github-app-token@v2.1.0 47 + uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 48 48 with: 49 49 app_id: ${{ secrets.BOT_APP_ID }} 50 50 private_key: ${{ secrets.BOT_PRIVATE_KEY }} 51 51 52 52 - name: Checkout Repo 53 - uses: actions/checkout@v4 53 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 54 54 55 55 - name: Setup PNPM 56 - uses: pnpm/action-setup@v3 56 + uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0 57 57 58 58 - name: Setup Node 59 - uses: actions/setup-node@v4 59 + uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 60 60 with: 61 61 node-version: ${{ env.NODE_VERSION }} 62 62 cache: "pnpm" ··· 66 66 67 67 - name: Create Release Pull Request 68 68 id: changesets 69 - uses: changesets/action@v1 69 + uses: changesets/action@06245a4e0a36c064a573d4150030f5ec548e4fcc # v1.4.10 70 70 with: 71 - commit: "[ci] release" 72 - title: "[ci] release" 71 + commit: "ci: release" 72 + title: "ci: release" 73 73 env: 74 74 GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} 75 75 NPM_TOKEN: ${{ secrets.NPM_TOKEN }} 76 76 77 + - name: Get published version 78 + if: steps.changesets.outputs.hasChangesets == 'true' 79 + run: | 80 + git checkout changeset-release/main 81 + VERSION=$(node -p "require('./packages/starlight-save-file-component/package.json').version") 82 + NAME=$(node -p "require('./packages/starlight-save-file-component/package.json').name") 83 + git commit --amend -m "ci: release $NAME v$VERSION" --no-edit 84 + git push origin changeset-release/main:changeset-release/main --force 85 + 77 86 image-tag: 78 87 name: Image Tag 79 88 runs-on: ubuntu-latest ··· 81 90 IMAGE_TAG: ${{ env.IMAGE_TAG }} 82 91 steps: 83 92 - name: Check out the repo 84 - uses: actions/checkout@v4 93 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 85 94 86 95 - name: Read version from package.json 87 96 id: get_version ··· 96 105 needs.changesets.outputs.hasChangesets == 'false' && 97 106 ( 98 107 contains(github.event.head_commit.message, 'deploy') || 99 - contains(github.event.head_commit.message, '[ci] release') 108 + contains(github.event.head_commit.message, 'ci: release') 100 109 ) 101 110 ) || 102 111 github.event_name == 'workflow_dispatch' ··· 105 114 contents: write 106 115 id-token: write 107 116 steps: 108 - - uses: actions/checkout@v4 117 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 109 118 110 119 - name: Setup PNPM 111 - uses: pnpm/action-setup@v3 120 + uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0 112 121 113 122 - name: Setup Node 114 - uses: actions/setup-node@v4 123 + uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 115 124 with: 116 125 node-version: ${{ env.NODE_VERSION }} 117 126 cache: "pnpm" ··· 134 143 contents: write 135 144 steps: 136 145 - name: Check out the repo 137 - uses: actions/checkout@v4 146 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 138 147 139 148 - id: extract-changelog 140 - uses: sean0x42/markdown-extract@v2.1.0 149 + uses: sean0x42/markdown-extract@7b185cbe85263116bbf741e739e7198ba86465dc # v2.1.0 141 150 with: 142 151 file: packages/starlight-save-file-component/CHANGELOG.md 143 152 pattern: ${{ needs.image-tag.outputs.IMAGE_TAG }} ··· 163 172 if: env.RELEASE_SKIPPED == 'false' 164 173 env: 165 174 DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }} 166 - uses: Ilshidur/action-discord@0.3.2 175 + uses: Ilshidur/action-discord@0c4b27844ba47cb1c7bee539c8eead5284ce9fa9 # 0.3.2 167 176 with: 168 177 args: | 169 178 # ${{ env.IMAGE_NAME }}@${{ needs.image-tag.outputs.IMAGE_TAG }}
+3 -3
.github/workflows/welcome-bot.yaml
··· 15 15 steps: 16 16 - name: Generate GitHub App token 17 17 id: generate_token 18 - uses: tibdex/github-app-token@v2.1.0 18 + uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 19 19 with: 20 20 app_id: ${{ secrets.BOT_APP_ID }} 21 21 private_key: ${{ secrets.BOT_PRIVATE_KEY }} 22 22 23 - - uses: actions/checkout@v4 23 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 24 24 - name: Convert Repository Name to Title Case 25 25 id: convert_repo_name 26 26 run: | 27 27 REPO_NAME="${{ github.event.repository.name }}" 28 28 TITLE_CASE_REPO_NAME=$(echo "$REPO_NAME" | sed 's/-/ /g' | awk '{for(i=1;i<=NF;i++) $i=toupper(substr($i,1,1)) tolower(substr($i,2))} 1') 29 29 echo "title_case_repo_name=$TITLE_CASE_REPO_NAME" >> $GITHUB_ENV 30 - - uses: zephyrproject-rtos/action-first-interaction@7e6446f8439d8b4399169880c36a3a12b5747699 30 + - uses: zephyrproject-rtos/action-first-interaction@58853996b1ac504b8e0f6964301f369d2bb22e5c 31 31 with: 32 32 repo-token: ${{ steps.generate_token.outputs.token }} 33 33 pr-opened-message: |