forked from Budibase/budibase
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
68 changed files
with
1,298 additions
and
938 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,29 @@ | ||
name: check_unreleased_changes | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
check_unreleased: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check for unreleased changes | ||
env: | ||
REPO: "Budibase/budibase" | ||
TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
RELEASE_TIMESTAMP=$(curl -s -H "Authorization: token $TOKEN" \ | ||
"https://api.github.com/repos/$REPO/releases/latest" | \ | ||
jq -r .published_at) | ||
COMMIT_TIMESTAMP=$(curl -s -H "Authorization: token $TOKEN" \ | ||
"https://api.github.com/repos/$REPO/commits/master" | \ | ||
jq -r .commit.committer.date) | ||
RELEASE_SECONDS=$(date --date="$RELEASE_TIMESTAMP" "+%s") | ||
COMMIT_SECONDS=$(date --date="$COMMIT_TIMESTAMP" "+%s") | ||
if (( COMMIT_SECONDS > RELEASE_SECONDS )); then | ||
echo "There are unreleased changes. Please release these changes before merging." | ||
exit 1 | ||
fi | ||
echo "No unreleased changes detected." |
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 |
---|---|---|
@@ -1 +1 @@ | ||
v14.20.1 | ||
v18.17.0 |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
nodejs 14.21.3 | ||
nodejs 18.17.0 | ||
python 3.10.0 | ||
yarn 1.22.19 | ||
yarn 1.22.19 |
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
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.