Skip to content

Commit a4d28b7

Browse files
CLOUDP-299199: Stop creating a ticket for the new api version release
1 parent 6b144e8 commit a4d28b7

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/api-versions-reminder.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: 'Send a Slack Notification for APIs important events'
33
on:
44
workflow_dispatch: # Allow manual triggering
55
schedule:
6-
- cron: '0 9 * * 1-5' # Run once a day at 09:00 UTC between Monday and Friday
6+
- cron: '0 9 * * 1' # Run once a day at 09:00 UTC on Monday
77

88
jobs:
99
new-api-version-reminder:
@@ -25,16 +25,6 @@ jobs:
2525
id: check-api-versions
2626
run: .github/scripts/upcoming_api_releases.sh
2727

28-
# Create a JIRA ticket for the upcoming API versions only if the there is not already a ticket with the same title
29-
- name: Create JIRA Ticket
30-
id: create-jira-ticket
31-
if: steps.check-api-versions.outputs.api_versions != null
32-
env:
33-
JIRA_API_TOKEN: ${{ secrets.jira_api_token }}
34-
JIRA_TICKET_TITLE: "[API Platform] API Versions (${{steps.check-api-versions.outputs.api_versions}}) are about to be released"
35-
JIRA_TICKET_DESCRIPTION: "The following API Versions are scheduled to be released in the next 3 weeks: ${{steps.check-api-versions.outputs.api_versions}}. Please follow https://wiki.corp.mongodb.com/display/MMS/API+eXperience+Production+Checklist#APIeXperienceProductionChecklist-APIVersionReleasechecks"
36-
run: .github/scripts/create_jira_ticket.sh
37-
3828
# Send Slack notification only if the Jira ticket was created
3929
- name: Send Slack Notification
4030
if: steps.create-jira-ticket.outputs.jira-ticket-id != null

0 commit comments

Comments
 (0)