Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 11543a5

Browse files
chore: make config name more verbose (#48)
1 parent 8b1e7cc commit 11543a5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎.github/workflows/chatops-migrate.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
targets: ${{ steps.parse.outputs.targets }}
2323
steps:
2424
- name: Write command config
25-
# write a config.yaml file to runner temp directory
25+
# write a bytebase-action-config.yaml file to runner temp directory
2626
run: |
27-
cat <<EOF > ${{ runner.temp }}/config.yaml
27+
cat <<EOF > ${{ runner.temp }}/bytebase-action-config.yaml
2828
test:
2929
stage: environments/test
3030
targets:
@@ -40,7 +40,7 @@ jobs:
4040
COMMENT="${{ github.event.comment.body }}"
4141
echo "Comment: $COMMENT"
4242
43-
CONFIG_FILE="${{ runner.temp }}/config.yaml"
43+
CONFIG_FILE="${{ runner.temp }}/bytebase-action-config.yaml"
4444
4545
# Get list of valid environments from config
4646
VALID_ENVS=$(yq eval 'keys | join(", ")' "$CONFIG_FILE")

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ This workflow enables ChatOps-style deployments through PR comments. Team member
7272

7373
#### Configuration
7474

75-
1. **Define environments in the workflow**: Edit the `config.yaml` generation step to define your environments and their database targets.
75+
1. **Define environments in the workflow**: Edit the `bytebase-action-config.yaml` generation step to define your environments and their database targets.
7676

7777
> [!NOTE]
7878
> The top-level keys (e.g., `test`, `prod`) are used as GitHub Actions job environments, so they must match the environment names configured in your repository settings.
@@ -81,7 +81,7 @@ This workflow enables ChatOps-style deployments through PR comments. Team member
8181
```yml
8282
- name: Write command config
8383
run: |
84-
cat <<EOF > ${{ runner.temp }}/config.yaml
84+
cat <<EOF > ${{ runner.temp }}/bytebase-action-config.yaml
8585
test:
8686
stage: environments/test
8787
targets:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /