forked from gosling-lang/gosling.js
-
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.
Merge branch 'master' into mp/clone_performance
- Loading branch information
Showing
40 changed files
with
85,258 additions
and
1,026 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Create Gos Pull Request | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
tag_name: | ||
required: true | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
|
||
sync: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout gosling-lang/gos (with submodules) | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.PAT }} | ||
repository: gosling-lang/gos | ||
submodules: true | ||
|
||
- name: Determine Tag Name | ||
id: tag | ||
run: | | ||
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then | ||
echo "tag_name=${{ github.event.inputs.tag_name }}" >> $GITHUB_OUTPUT | ||
elif [ "${{ github.event_name }}" == "release" ]; then | ||
echo "tag_name=${{ github.event.release.tag_name }}" >> $GITHUB_OUTPUT | ||
else | ||
echo "Unknown event type" | ||
exit 1 | ||
fi | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.11" | ||
- run: | | ||
python -m pip install . | ||
python tools/generate_schema_wrapper.py ${{ steps.tag.outputs.tag_name }} | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
token: ${{ secrets.PAT }} | ||
commit-message: "Bump Gosling.js to `${{ steps.tag.outputs.tag_name }}`" | ||
title: "Bump Gosling.js to `${{ steps.tag.outputs.tag_name }}`" | ||
body: "Automated PR. Update binding for Gosling.js `${{ steps.tag.outputs.tag_name }}`." | ||
delete-branch: true |
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 |
---|---|---|
|
@@ -21,3 +21,6 @@ report.* | |
*.swp | ||
*.swo | ||
*~ | ||
/test-results/ | ||
/playwright-report/ | ||
/playwright/.cache/ |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.