Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 7 additions & 20 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- opened
- reopened
- transferred
pull_request:
pull_request:
types:
- reopened
- opened
Expand All @@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ style:
#!/usr/bin/Rscript
styler::style_dir(here::here())

# Build pkgdown website
# Build Quarto website
build-site:
quarto render
Loading