Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
id: '10001'
},
parent: {
key: 'DI-3523'
key: 'API-1'
},
project: {
id: '10118'
id: '11316'
},
components: [
{
Expand Down
37 changes: 37 additions & 0 deletions scripts/update_jira_token.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/bin/sh

# This script updates the JIRA_TOKEN secret in the GitHub repository
# Usage: ./scripts/update_jira_token.sh <jira_email> <new_jira_token>

if [ "$#" -ne 1 ]; then
echo "Usage: $0 <jira_email> <new_jira_token>"
exit 1
fi

EMAIL="$1"
TOKEN="$2"
ENCRYPED_TOKEN=$(echo -n "$EMAIL:$TOKEN" | base64)

repositories=(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

django laravel symfony firebase rails

"algolia/api-clients-automation"
"algolia/algoliasearch-client-csharp"
"algolia/algoliasearch-client-dart"
"algolia/algoliasearch-client-go"
"algolia/algoliasearch-client-java"
"algolia/algoliasearch-client-javascript"
"algolia/algoliasearch-client-kotlin"
"algolia/algoliasearch-client-php"
"algolia/algoliasearch-client-python"
"algolia/algoliasearch-client-ruby"
"algolia/algoliasearch-client-scala"
"algolia/algoliasearch-client-swift"
"algolia/algoliasearch-django"
"algolia/scout-extended"
"algolia/search-bundle"
"algolia/firestore-algolia-search"
"algolia/algoliasearch-rails"
)

for repo in "${repositories[@]}"; do
gh -R "$repo" secret set JIRA_TOKEN --body "$ENCRYPED_TOKEN"
done
4 changes: 2 additions & 2 deletions templates/issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
id: '10001'
},
parent: {
key: 'DI-3523'
key: 'API-1'
},
project: {
id: '10118'
id: '11316'
},
components: [
{
Expand Down