-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[noissue]
- Loading branch information
David Davis
committed
Sep 9, 2021
1 parent
ccbd668
commit 61f3d23
Showing
6 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Added a workflow to check that PRs contain a single commit. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
# Posts a release announcement to discourse | ||
|
||
URL="https://discourse.pulpproject.org/posts.json" | ||
CATEGORY=1 # Announcements | ||
DISCOURSE_USER="system" | ||
|
||
plugin="$1" | ||
version="$2" | ||
body = $(cat <<-EOM | ||
$plugin $version has been released. | ||
PyPI: https://pypi.org/project/$plugin/$version/ | ||
Changelog: Changelog — Pulp File 1.9.1 documentation | ||
Docs: pulp_file Plugin — Pulp File 1.9.1 documentation | ||
Python bindings: pulp-file-client · PyPI | ||
Ruby bindings: pulp_file_client | RubyGems.org | your community gem host | ||
EOM | ||
curl -X POST "$URL" | ||
-H "Api-Key: $DISCOURSE_TOKEN" | ||
-H "Api-Username: $DISCOURSE_USER" | ||
-H "title: $1 $2 has been released" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,7 @@ DEFAULT_SETTINGS = { | |
"release_user": "pulpbot", | ||
"release_email": "[email protected]", | ||
"noissue_marker": "[noissue]", | ||
"single_commit_check": True, | ||
"sync_ci": True, | ||
"test_bindings": True, | ||
"test_cli": False, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters