Skip to content

Commit

Permalink
Use tags only workflow behavior
Browse files Browse the repository at this point in the history
Without this, the action assumes there is a release branch that a tag is made on because that is common to most other Grafana repositories.
Those repositories maintain a long-lived release branch to facilitate backports to documentation and code.

Since grafana/oncall doesn't follow this pattern, it doesn't make sense to try and discover the matching release branch.
That action behavior is disabled by the `tags_only: true` setting.

Signed-off-by: Jack Baldry <[email protected]>
  • Loading branch information
jdbaldry committed Jan 8, 2025
1 parent be10967 commit f1fbe84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-technical-documentation-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ jobs:
release_tag_regexp: "^v(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
release_branch_regexp: "^release-(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
release_branch_with_patch_regexp: "^release-(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
# This repository only releases from the tag reference and not from long-lived release branches.
tags_only: true
website_directory: content/docs/oncall

0 comments on commit f1fbe84

Please sign in to comment.