diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 0b9fc4d244..a9ce552ed9 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -86,3 +86,5 @@ jobs: uses: insightsengineering/r.pkg.template/.github/workflows/style.yaml@main with: auto-update: true + secrets: + REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} diff --git a/.github/workflows/cla.yaml b/.github/workflows/cla.yaml index d44de7a9bb..b674b0b457 100644 --- a/.github/workflows/cla.yaml +++ b/.github/workflows/cla.yaml @@ -4,7 +4,7 @@ on: issue_comment: types: - created - # For PRs originating from forks + # For PRs that originate from forks pull_request_target: types: - opened diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0fa4a06c8f..226473ce99 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -8,15 +8,6 @@ on: workflow_dispatch: jobs: - build: - name: Build package 🎁 - needs: release - uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main - secrets: - REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} - with: - skip-r-cmd-check: true - skip-r-cmd-install: true docs: name: Pkgdown Docs 📚 needs: release @@ -36,8 +27,8 @@ jobs: uses: insightsengineering/r.pkg.template/.github/workflows/release.yaml@main secrets: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} - r-cmd: - name: R CMD Check 🧬 + build: + name: Build package and reports 🎁 needs: [release, docs] uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main secrets: