This repository has been archived by the owner on Nov 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into bwdb-14964-v3
- Loading branch information
Showing
49 changed files
with
964 additions
and
1,243 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Create LTS Versions | |
|
||
on: | ||
schedule: | ||
- cron: '0 0 1,16 * *' | ||
- cron: "0 0 1,16 * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
@@ -22,7 +22,7 @@ jobs: | |
if [ $REL_TIME '>' $LTS_TIME ]; then curl -s -X PATCH -H "Accept: application/vnd.github+json" -H "Authorization: token $TOKEN" $GITHUB_API_URL/repos/$GITHUB_REPOSITORY/releases/$REL_ID -d '{"name":"'"${REL_NAME}-LTS"'"}' > /dev/null; echo "new_lts_zip=$REL_ZIP" >> $GITHUB_OUTPUT; echo "release_name=$REL_NAME" >> $GITHUB_OUTPUT; else echo "no_release=true" >> $GITHUB_OUTPUT; fi # If there has been a non-LTS release since the last LTS release, create a new LTS release | ||
env: | ||
TOKEN: ${{ secrets.DX_GITHUB_TOKEN }} | ||
|
||
create_lts: | ||
name: Create A New LTS Release | ||
runs-on: ubuntu-latest | ||
|
@@ -54,8 +54,8 @@ jobs: | |
uses: Bandwidth/[email protected] | ||
with: | ||
bucket-name: ${{ steps.bucket_name.outputs.bucket_name }} | ||
bucket-expiration: '180' | ||
bucket-region: 'us-east-1' | ||
bucket-expiration: "180" | ||
bucket-region: "us-east-1" | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
content-path: ./lts/build | ||
|
@@ -68,7 +68,7 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Configure Git and Create Branch | ||
run: | | ||
git config user.email "[email protected]" | ||
|
@@ -86,6 +86,6 @@ jobs: | |
git add site/lts.config.json | ||
git commit -m 'update lts table' | ||
git push origin auto-update-lts | ||
gh pr create -B main -H auto-update-lts --title 'Update LTS Versions Table' --body 'Auto-generated by Create LTS Versions Workflow' | ||
gh pr create -B main -H auto-update-lts --title 'SWI-3486 Update LTS Versions Table' --body 'Auto-generated by Create LTS Versions Workflow' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.DX_GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.DX_GITHUB_TOKEN }} |
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 was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.