Преглед на файлове

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

* add workflow

* add todo
Robert Brennan преди 1 година
родител
ревизия
09cfcfbee9
променени са 1 файла, в които са добавени 26 реда и са изтрити 0 реда
  1. 26 0
      .github/workflows/regenerate_integration_tests.yml

+ 26 - 0
.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