Skip to content

πŸ™Œ OpenHands: AI-Driven Development

add (placeholder) workflow for regenerating the integration tests (#3657)

Robert Brennan09cfcfbee9f5
diff --git a/.github/workflows/regenerate_integration_tests.yml b/.github/workflows/regenerate_integration_tests.yml
new file mode 100644
index 0000000000..98aa5f40c1
--- /dev/null
+++ b/.github/workflows/regenerate_integration_tests.yml
@@ -0,0 +1,26 @@
+
+name: Regenerate Integration Tests
+
+on:
+ workflow_dispatch:
+
+jobs:
+ update-readme:
+ if: github.ref != 'refs/heads/main'
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v2
+
+ - name: Add newline to README
+ # TODO: change this to regenerate the tests once this workflow is verified as working
+ run: echo "hello world" >> README.md
+
+ - name: Commit changes
+ run: |
+ git config --global user.name 'github-actions[bot]'
+ git config --global user.email 'github-actions[bot]@users.noreply.github.com'
+ git add .
+ git commit -m "Regenerate integration tests"
+ git push