diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be44be0..d869e02 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,14 @@ on: branches: [master] schedule: - cron: "0 */2 * * *" + workflow_call: + inputs: + config-path: + required: true + type: string + secrets: + personal_access_token: + required: true # concurrency: # # Use github.run_id on main branch # # Use github.event.pull_request.number on pull requests, so it's unique per pull request @@ -162,6 +170,5 @@ jobs: - name: Enable auto-merge env: PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{secrets.GH_TOKEN}} GH_TOKEN: ${{ secrets.GH_TOKEN }} run: gh pr merge --auto --merge "$PR_URL"