Mirror of
0
fork

Configure Feed

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

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

[ci] sync template files

authored by

trueberryless and committed by
GitHub
57fc42b6 5199a968

+40 -5
+8 -1
.github/workflows/deployment.yaml
··· 41 41 contents: write 42 42 pull-requests: write 43 43 steps: 44 + - name: Generate GitHub App token 45 + id: generate_token 46 + uses: tibdex/github-app-token@v2.1.0 47 + with: 48 + app_id: ${{ secrets.BOT_APP_ID }} 49 + private_key: ${{ secrets.BOT_PRIVATE_KEY }} 50 + 44 51 - name: Checkout Repo 45 52 uses: actions/checkout@v4 46 53 ··· 63 70 commit: "[ci] release" 64 71 title: "[ci] release" 65 72 env: 66 - GITHUB_TOKEN: ${{ secrets.PUBLIC_GITHUB_TOKEN }} 73 + GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} 67 74 NPM_TOKEN: ${{ secrets.NPM_TOKEN }} 68 75 69 76 image-tag:
+8 -1
.github/workflows/labeler.yaml
··· 9 9 pull-requests: write 10 10 runs-on: ubuntu-latest 11 11 steps: 12 + - name: Generate GitHub App token 13 + id: generate_token 14 + uses: tibdex/github-app-token@v2.1.0 15 + with: 16 + app_id: ${{ secrets.BOT_APP_ID }} 17 + private_key: ${{ secrets.BOT_PRIVATE_KEY }} 18 + 12 19 - uses: actions/checkout@v4 13 20 - name: Ensure labels exist 14 21 env: 15 - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 22 + GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} 16 23 run: | 17 24 gh label delete "bug" --yes || true 18 25 gh label delete "documentation" --yes || true
+8 -1
.github/workflows/publish.yaml
··· 42 42 contents: write 43 43 pull-requests: write 44 44 steps: 45 + - name: Generate GitHub App token 46 + id: generate_token 47 + uses: tibdex/github-app-token@v2.1.0 48 + with: 49 + app_id: ${{ secrets.BOT_APP_ID }} 50 + private_key: ${{ secrets.BOT_PRIVATE_KEY }} 51 + 45 52 - name: Checkout Repo 46 53 uses: actions/checkout@v4 47 54 ··· 64 71 commit: "[ci] release" 65 72 title: "[ci] release" 66 73 env: 67 - GITHUB_TOKEN: ${{ secrets.PUBLIC_GITHUB_TOKEN }} 74 + GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} 68 75 NPM_TOKEN: ${{ secrets.NPM_TOKEN }} 69 76 70 77 image-tag:
+8 -1
.github/workflows/release.yaml
··· 13 13 pull-requests: write 14 14 runs-on: ubuntu-latest 15 15 steps: 16 + - name: Generate GitHub App token 17 + id: generate_token 18 + uses: tibdex/github-app-token@v2.1.0 19 + with: 20 + app_id: ${{ secrets.BOT_APP_ID }} 21 + private_key: ${{ secrets.BOT_PRIVATE_KEY }} 22 + 16 23 - name: Checkout Repo 17 24 uses: actions/checkout@v4 18 25 with: ··· 37 44 commit: "[ci] release" 38 45 title: "[ci] release" 39 46 env: 40 - GITHUB_TOKEN: ${{ secrets.PUBLIC_GITHUB_TOKEN }} 47 + GITHUB_TOKEN: ${{ steps.generate_token.outputs.token}}
+8 -1
.github/workflows/welcome-bot.yaml
··· 13 13 name: Welcome First-Time Contributors 14 14 runs-on: ubuntu-latest 15 15 steps: 16 + - name: Generate GitHub App token 17 + id: generate_token 18 + uses: tibdex/github-app-token@v2.1.0 19 + with: 20 + app_id: ${{ secrets.BOT_APP_ID }} 21 + private_key: ${{ secrets.BOT_PRIVATE_KEY }} 22 + 16 23 - uses: actions/checkout@v4 17 24 - name: Convert Repository Name to Title Case 18 25 id: convert_repo_name ··· 22 29 echo "title_case_repo_name=$TITLE_CASE_REPO_NAME" >> $GITHUB_ENV 23 30 - uses: zephyrproject-rtos/action-first-interaction@7e6446f8439d8b4399169880c36a3a12b5747699 24 31 with: 25 - repo-token: ${{ secrets.GITHUB_TOKEN }} 32 + repo-token: ${{ steps.generate_token.outputs.token }} 26 33 pr-opened-message: | 27 34 Hello! Thank you for opening your **first PR** to ${{ env.title_case_repo_name }}! ✨ 28 35