name: Merge Nightly into Develop on: workflow_dispatch: jobs: merge-develop: runs-on: ubuntu-latest steps: - name: Create App Token uses: actions/create-github-app-token@v1 id: app-token with: app-id: ${{ vars.APP_ID }} private-key: ${{ secrets.APP_TOKEN }} - name: Check Out Repo uses: actions/checkout@v4 with: token: ${{ steps.app-token.outputs.token }} ref: nightly fetch-depth: 0 - name: Push Nightly into Develop run: | git push origin refs/heads/nightly:refs/heads/develop