Skip to content

Commit f8e51a1

Browse files
committed
docs: replace @main with @x.y.z to enforce proper versioning
- Replace all @main references with @x.y.z placeholder - Forces developers to use actual version tags instead of main branch - Prevents mindless copy/paste of potentially unstable code - Encourages proper semantic versioning practices
1 parent ddab4e2 commit f8e51a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Only nodejs (JavaScript, TypeScript) is supported by this action. Please see ou
2626
# Usage
2727

2828
```yaml
29-
- uses: bcgov/action-test-and-analyse@main
29+
- uses: bcgov/action-test-and-analyse@x.y.z
3030
with:
3131
### Required
3232

@@ -112,7 +112,7 @@ jobs:
112112
name: Test and Analyze
113113
runs-on: ubuntu-24.04
114114
steps:
115-
- uses: bcgov/action-test-and-analyse@main
115+
- uses: bcgov/action-test-and-analyse@x.y.z
116116
with:
117117
commands: |
118118
npm ci
@@ -137,7 +137,7 @@ jobs:
137137
name: Test and Analyze
138138
runs-on: ubuntu-24.04
139139
steps:
140-
- uses: bcgov/action-test-and-analyse@main
140+
- uses: bcgov/action-test-and-analyse@x.y.z
141141
with:
142142
commands: |
143143
npm ci
@@ -167,7 +167,7 @@ jobs:
167167
triggers: ('backend/' 'charts/backend')
168168
steps:
169169
- uses: actions/checkout@v5
170-
- uses: bcgov/action-test-and-analyse@main
170+
- uses: bcgov/action-test-and-analyse@x.y.z
171171
with:
172172
commands: |
173173
npm ci
@@ -194,7 +194,7 @@ Has the action been triggered by path changes? \[true|false\]
194194

195195
```yaml
196196
- id: test
197-
uses: bcgov/action-test-and-analyse@main
197+
uses: bcgov/action-test-and-analyse@x.y.z
198198
with:
199199
commands: |
200200
npm ci

0 commit comments

Comments
 (0)