Skip to content

Commit

Permalink
chore: comment fix and pass secret to workflow although not used
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Sep 14, 2024
1 parent d9cdd37 commit 423a658
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/compute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
permissions: write-all
env:
TELEGRAM_BOT_ENV: ${{ secrets.TELEGRAM_BOT_ENV }}
REPOSITORY: ${{ secrets.REPOSITORY }}

steps:
- uses: actions/checkout@v4
Expand All @@ -40,3 +41,4 @@ jobs:
id: telegram-bot
env:
TELEGRAM_BOT_ENV: ${{ secrets.TELEGRAM_BOT_ENV }}
REPOSITORY: ${{ secrets.REPOSITORY }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ interface TELEGRAM_BOT_ENV {
runsOn: ["issues.opened", "issues.labeled", "issues.reopened", "issues.closed"]
with:
botId: 00000000
targetBranch: development
```
### Usage
Expand Down
2 changes: 1 addition & 1 deletion src/types/plugin-inputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const pluginSettingsSchema = T.Object({
.Decode((value) => Number(value))
.Encode((value) => value.toString()),
/**
* The target branch to run the workflows on. Will default to the default branch.
* The target branch to run the workflows on. Will default to the `development` branch.
*/
targetBranch: T.Optional(T.String({ default: "development" })),
});
Expand Down

0 comments on commit 423a658

Please sign in to comment.