Skip to content

Commit

Permalink
chore: quote branch names to avoid numeric conversion (#4224)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken authored Sep 6, 2024
1 parent 65e0e15 commit 27fd8a0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and commit docs

on:
push:
branches: [main]
branches: ['main']

permissions:
contents: write
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-5.x.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
push:
branches: [5.x]
branches: ['5.x']
workflow_dispatch: {}

permissions:
Expand All @@ -19,7 +19,7 @@ jobs:
- id: release
uses: googleapis/release-please-action@v4
with:
target-branch: 5.x
target-branch: '5.x'

build:
needs: [release_please]
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
with:
release_version: ${{ env.package_version }}
product_name: mongodb
sarif_report_target_ref: 5.x
sarif_report_target_ref: '5.x'
third_party_dependency_tool: n/a
dist_filenames: artifacts/*
token: ${{ github.token }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-6.8.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
push:
branches: [6.8]
branches: ['6.8']
workflow_dispatch: {}

permissions:
Expand All @@ -19,11 +19,11 @@ jobs:
- id: release
uses: googleapis/release-please-action@v4
with:
target-branch: 6.8
target-branch: '6.8'

build:
needs: [release_please]
name: "Perform any build or bundling steps, as necessary."
name: 'Perform any build or bundling steps, as necessary.'
uses: ./.github/workflows/build.yml

ssdlc:
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
with:
release_version: ${{ env.package_version }}
product_name: mongodb
sarif_report_target_ref: 6.8
sarif_report_target_ref: '6.8'
third_party_dependency_tool: n/a
dist_filenames: artifacts/*
token: ${{ github.token }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
push:
branches: [main]
branches: ['main']
workflow_dispatch: {}

permissions:
Expand All @@ -19,7 +19,7 @@ jobs:
- id: release
uses: googleapis/release-please-action@v4
with:
target-branch: main
target-branch: 'main'

build:
needs: [release_please]
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
with:
release_version: ${{ env.package_version }}
product_name: mongodb
sarif_report_target_ref: main
sarif_report_target_ref: 'main'
third_party_dependency_tool: n/a
dist_filenames: artifacts/*
token: ${{ github.token }}
Expand Down

0 comments on commit 27fd8a0

Please sign in to comment.