You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,24 @@ jobs:
37
37
token: ${{ secrets.GITHUB_TOKEN }}
38
38
```
39
39
40
+
## Workflow Updates and Versioning
41
+
42
+
This workflow uses a reference to the branch (`@main`) rather than a specific version tag. This means:
43
+
44
+
- **Automatic Updates**: When the workflow code is updated in the `main` branch, all repositories referencing it will automatically use the latest version without requiring any changes in those repositories.
45
+
- **Breaking Changes**: Be cautious when making changes to the workflow in the `main` branch, as they will immediately affect all dependent repositories. Test significant changes thoroughly before merging them into `main`.
46
+
47
+
### Recommendations for Stability
48
+
49
+
If you need more stability and control over updates, consider:
50
+
1. Using version tags (e.g., `@v1`, `@v2`) instead of `@main`.
51
+
2. Having repositories explicitly opt-in to new versions by updating their workflow reference.
0 commit comments