Skip to content

Commit

Permalink
try now
Browse files Browse the repository at this point in the history
deploy
  • Loading branch information
trueberryless committed Nov 19, 2024
1 parent 91cd465 commit 2aab0ff
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
10 changes: 2 additions & 8 deletions repos.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,13 @@
"files": [
{
"path": "workflow-files/welcome-bot.yaml",
"targetPath": ".github/workflows/welcome-bot.yaml",
"props": {
"baseBranch": "main"
}
"targetPath": ".github/workflows/welcome-bot.yaml"
},
{
"path": "workflow-files/release.yaml",
"targetPath": ".github/workflows/release.yaml",
"props": {
"baseBranch": "main",
"organisation": "trueberryless-org",
"commitMessage": "[ci] release",
"prTitle": "[ci] release"
"branchName": "main"
}
}
]
Expand Down
9 changes: 5 additions & 4 deletions workflow-files/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ name: Release

on:
push:
branches: [<%= baseBranch %>]
branches:
- <%= branchName %>

jobs:
release:
name: Release
if: ${{ github.repository_owner == '<%= organisation %>' }}
if: ${{ github.repository_owner == 'trueberryless-org' }}
permissions:
contents: write
pull-requests: write
Expand All @@ -34,7 +35,7 @@ jobs:
uses: changesets/action@v1
with:
version: pnpm run version
commit: "<%= commitMessage %>"
title: "<%= prTitle %>"
commit: "[ci] release"
title: "[ci] release"
env:
GITHUB_TOKEN: ${{ secrets.PUBLIC_GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion workflow-files/welcome-bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: WelcomeBot

on:
pull_request_target:
branches: [<%= baseBranch %>]
branches: [main]
types: [opened]

permissions:
Expand Down

0 comments on commit 2aab0ff

Please sign in to comment.