diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml index 8b264df..b5513c7 100644 --- a/.github/workflows/add-to-project.yml +++ b/.github/workflows/add-to-project.yml @@ -6,7 +6,7 @@ on: - opened - reopened - transferred - pull_request: + pull_request: types: - reopened - opened @@ -16,22 +16,9 @@ permissions: jobs: add-to-project: - name: Add to project - runs-on: ubuntu-latest - steps: - - name: Add issue or PR to project board - uses: actions/add-to-project@v1.0.2 - with: - project-url: https://github.com/orgs/rostools/projects/12 - github-token: ${{ secrets.ADD_TO_BOARD }} - - - name: Assign PR to creator - if: ${{ github.event_name == 'pull_request' }} - run: | - gh pr edit $PR --add-assignee $AUTHOR - env: - AUTHOR: ${{ github.event.pull_request.user.login }} - PR: ${{ github.event.pull_request.html_url }} - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - + uses: rostools/.github/.github/workflows/reusable-add-to-project.yml@main + with: + board-number: 12 + secrets: + add-to-board-token: ${{ secrets.ADD_TO_BOARD }} + gh-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/build-website.yml b/.github/workflows/build-website.yml index 6dab3eb..4381cf2 100644 --- a/.github/workflows/build-website.yml +++ b/.github/workflows/build-website.yml @@ -6,6 +6,6 @@ on: jobs: build-deploy-docs: - uses: rostools/.github/.github/workflows/reusable-build-website.yml@main + uses: rostools/.github/.github/workflows/reusable-build-website-r.yml@main secrets: netlify-token: ${{ secrets.NETLIFY_AUTH_TOKEN }} diff --git a/justfile b/justfile index aaef9a2..11cffa4 100644 --- a/justfile +++ b/justfile @@ -20,6 +20,6 @@ style: #!/usr/bin/Rscript styler::style_dir(here::here()) -# Build pkgdown website +# Build Quarto website build-site: quarto render