diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07a9c05ffa..1dee9bc7c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,12 +12,6 @@ on: # Run on pull requests pull_request: - # Run on PR from DCS - workflow_run: - workflows: ["dcs16_push"] - types: - - completed - ## Future Ideas: ## PR make it 10 or less ## For main and time based we can run something bigger diff --git a/.github/workflows/dcs16_push.yml b/.github/workflows/dcs16_push.yml index c74b0ed2ee..b8c986b485 100644 --- a/.github/workflows/dcs16_push.yml +++ b/.github/workflows/dcs16_push.yml @@ -23,4 +23,4 @@ jobs: - uses: actions/checkout@v2 - run: gh pr create -B main -H ${{ github.ref_name }} --title "${{ github.ref_name }}" --body "${{ github.event.head_commit.message }}" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.DCS_PUSH }}