diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 000000000..26f5d7796 --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,20 @@ +name: Register Bot + +on: + workflow_dispatch: # Manually trigger this + +jobs: + register: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Create and push to temp branch + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git checkout -b temp-bot-registration + echo "This is a test file to register the bot" > bot-test.txt + git add bot-test.txt + git commit -m "Register github-actions bot" + git push origin temp-bot-registration