Skip to content

Commit

Permalink
PR announcement as env variable
Browse files Browse the repository at this point in the history
This commit changes PR announcement message from hard coded text to env
variable. Thanks to this, it will be possible to change the message in
the repository settings without creating a new PR.

Signed-off-by: Jan Richter <[email protected]>
  • Loading branch information
richtja committed Jun 21, 2024
1 parent 867dc7a commit f3f32d2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/pr_announcement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,7 @@ jobs:
gh api graphql -f query='mutation {
addComment(input: {
subjectId: ${{ env.PR_ID }},
body: """Dear contributor,
Avocado is currently at the end of sprint #105, therefore we are in feature freeze state.
Please avoid merging changes that do not fall into these categories:
* Bug fixes
* Documentation updates
The feature freeze will be active until the release planned on 05/06/2024."""}) {
body: """${{ env.PR_ANNOUNCEMENT }}"""}) {
clientMutationId
}
Expand Down

0 comments on commit f3f32d2

Please sign in to comment.