From 2aab0ffc38665a5bc99db8fafe0674daec546bef Mon Sep 17 00:00:00 2001 From: trueberryless Date: Tue, 19 Nov 2024 13:21:39 +0100 Subject: [PATCH] try now deploy --- repos.json | 10 ++-------- workflow-files/release.yaml | 9 +++++---- workflow-files/welcome-bot.yaml | 2 +- 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/repos.json b/repos.json index 044a6b4..3f4fb1d 100644 --- a/repos.json +++ b/repos.json @@ -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" } } ] diff --git a/workflow-files/release.yaml b/workflow-files/release.yaml index ba0ea71..207f9e7 100644 --- a/workflow-files/release.yaml +++ b/workflow-files/release.yaml @@ -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 @@ -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 }} diff --git a/workflow-files/welcome-bot.yaml b/workflow-files/welcome-bot.yaml index 7444923..19b53ba 100644 --- a/workflow-files/welcome-bot.yaml +++ b/workflow-files/welcome-bot.yaml @@ -2,7 +2,7 @@ name: WelcomeBot on: pull_request_target: - branches: [<%= baseBranch %>] + branches: [main] types: [opened] permissions: