-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8714799
commit c41ec15
Showing
6 changed files
with
43 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,13 @@ jobs: | |
contents: write | ||
pull-requests: write | ||
steps: | ||
- name: Generate GitHub App token | ||
id: generate_token | ||
uses: tibdex/[email protected] | ||
with: | ||
app_id: ${{ secrets.BOT_APP_ID }} | ||
private_key: ${{ secrets.BOT_PRIVATE_KEY }} | ||
|
||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
|
||
|
@@ -63,7 +70,7 @@ jobs: | |
commit: "[ci] release" | ||
title: "[ci] release" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.PUBLIC_GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
image-tag: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,17 @@ jobs: | |
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Generate GitHub App token | ||
id: generate_token | ||
uses: tibdex/[email protected] | ||
with: | ||
app_id: ${{ secrets.BOT_APP_ID }} | ||
private_key: ${{ secrets.BOT_PRIVATE_KEY }} | ||
|
||
- uses: actions/checkout@v4 | ||
- name: Ensure labels exist | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} | ||
run: | | ||
gh label delete "bug" --yes || true | ||
gh label delete "documentation" --yes || true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,13 @@ jobs: | |
contents: write | ||
pull-requests: write | ||
steps: | ||
- name: Generate GitHub App token | ||
id: generate_token | ||
uses: tibdex/[email protected] | ||
with: | ||
app_id: ${{ secrets.BOT_APP_ID }} | ||
private_key: ${{ secrets.BOT_PRIVATE_KEY }} | ||
|
||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
|
||
|
@@ -64,7 +71,7 @@ jobs: | |
commit: "[ci] release" | ||
title: "[ci] release" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.PUBLIC_GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
image-tag: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,13 @@ jobs: | |
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Generate GitHub App token | ||
id: generate_token | ||
uses: tibdex/[email protected] | ||
with: | ||
app_id: ${{ secrets.BOT_APP_ID }} | ||
private_key: ${{ secrets.BOT_PRIVATE_KEY }} | ||
|
||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
|
@@ -37,4 +44,4 @@ jobs: | |
commit: "[ci] release" | ||
title: "[ci] release" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.PUBLIC_GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,13 @@ jobs: | |
name: Welcome First-Time Contributors | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Generate GitHub App token | ||
id: generate_token | ||
uses: tibdex/[email protected] | ||
with: | ||
app_id: ${{ secrets.BOT_APP_ID }} | ||
private_key: ${{ secrets.BOT_PRIVATE_KEY }} | ||
|
||
- uses: actions/checkout@v4 | ||
- name: Convert Repository Name to Title Case | ||
id: convert_repo_name | ||
|
@@ -22,7 +29,7 @@ jobs: | |
echo "title_case_repo_name=$TITLE_CASE_REPO_NAME" >> $GITHUB_ENV | ||
- uses: zephyrproject-rtos/action-first-interaction@7e6446f8439d8b4399169880c36a3a12b5747699 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
repo-token: ${{ steps.generate_token.outputs.token }} | ||
pr-opened-message: | | ||
Hello! Thank you for opening your **first PR** to ${{ env.title_case_repo_name }}! ✨ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
FROM node:20-alpine AS runtime | ||
WORKDIR /app | ||
COPY /docs/dist ./dist | ||
FROM httpd:2.4 AS runtime | ||
COPY /docs/dist /usr/local/apache2/htdocs/ | ||
EXPOSE 80 | ||
ENV HOST=0.0.0.0 | ||
ENV PORT=80 | ||
CMD ["node", "dist/server/entry.mjs"] | ||
EXPOSE 443 |