mirror of
https://github.com/Macro-Deck-App/Macro-Deck.git
synced 2026-06-18 21:15:46 +08:00
Update GitHub workflows to use changed branch names
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -4,12 +4,12 @@ on:
|
||||
workflow_call:
|
||||
pull_request:
|
||||
branches:
|
||||
- 'production'
|
||||
- 'main'
|
||||
- 'develop'
|
||||
push:
|
||||
branches:
|
||||
- '!production'
|
||||
- '!main'
|
||||
- '!develop'
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
|
||||
4
.github/workflows/create-release.yml
vendored
4
.github/workflows/create-release.yml
vendored
@@ -32,9 +32,9 @@ jobs:
|
||||
id: set_branch
|
||||
run: |
|
||||
if [[ "${{ steps.fetch_version.outputs.is-beta }}" == "true" ]]; then
|
||||
echo "::set-output name=result::develop"
|
||||
else
|
||||
echo "::set-output name=result::main"
|
||||
else
|
||||
echo "::set-output name=result::production"
|
||||
fi
|
||||
|
||||
bump-version:
|
||||
|
||||
4
.github/workflows/pull-web-client.yml
vendored
4
.github/workflows/pull-web-client.yml
vendored
@@ -11,10 +11,10 @@ on:
|
||||
description: 'Destination branch for the pull-request'
|
||||
type: choice
|
||||
options:
|
||||
- develop
|
||||
- main
|
||||
- production
|
||||
required: false
|
||||
default: develop
|
||||
default: main
|
||||
|
||||
jobs:
|
||||
update-web-client:
|
||||
|
||||
Reference in New Issue
Block a user