diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000000..fcb1f1247e3 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,35 @@ +name: Jc Test + +on: + push: + branches: + - jcrelease + +jobs: + publish: + name: Release build and publish + runs-on: ubuntu-22.04 + if: ${{ github.event.workflow_run.conclusion == 'success' }} + steps: + - name: Check out code + uses: actions/checkout@v3.1.0 + with: + ref: jcrelease + persist-credentials: false + - name: Set up JDK 17 + uses: actions/setup-java@v3.6.0 + with: + distribution: adopt + java-version: 17 + - name: Commit changes + run: | + echo "Something" > something.txt + git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + git add something.txt + git commit -m "AUTOMATION: Changelog update" + - name: Push changes + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.STREAM_PUBLIC_BOT_TOKEN }} + branch: jcrelease \ No newline at end of file