-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from ropensci/rust
Update checklist and pkgdown infrastructure
- Loading branch information
Showing
55 changed files
with
1,013 additions
and
368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
# checklist | ||
^_pkgdown.yml$ | ||
^.*\.Rproj$ | ||
^.zenodo\.json$ | ||
^CITATION\.cff$ | ||
^LICENSE.md$ | ||
^Meta$ | ||
^README\.Rmd$ | ||
^\.Rproj\.user$ | ||
^\.github$ | ||
^\.httr-oauth$ | ||
^\.Rproj\.user$ | ||
^\.zenodo\.json$ | ||
^_pkgdown.yml$ | ||
^checklist.yml$ | ||
^CITATION\.cff$ | ||
^codecov.yml$ | ||
^codecov\.yml$ | ||
^codemeta\.json$ | ||
^cran-comments\.md$ | ||
^data-raw$ | ||
^doc$ | ||
^docs$ | ||
^LICENSE.md$ | ||
^man-roxygen$ | ||
^Meta$ | ||
^organisation.yml$ | ||
^pkgdown$ | ||
^README\.Rmd$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,16 +5,16 @@ on: | |
- master | ||
- ghpages | ||
|
||
name: "check package" | ||
name: "check package with checklist" | ||
|
||
jobs: | ||
check-package: | ||
runs-on: ubuntu-latest | ||
name: "check package" | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
ORCID_TOKEN: ${{ secrets.ORCID_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
permissions: | ||
contents: read | ||
steps: | ||
- uses: inbo/actions/check_pkg@master | ||
with: | ||
token: ${{ secrets.PAT }} | ||
- uses: inbo/actions/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,19 +3,17 @@ on: | |
branches: | ||
- main | ||
- master | ||
schedule: | ||
- cron: '6 0 15 * *' | ||
permissions: | ||
contents: write | ||
|
||
name: "check package on main" | ||
name: "check package on main with checklist" | ||
|
||
jobs: | ||
check-package: | ||
runs-on: ubuntu-latest | ||
name: "check package" | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
ORCID_TOKEN: ${{ secrets.ORCID_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: inbo/actions/check_pkg@master | ||
with: | ||
token: ${{ secrets.PAT }} | ||
- uses: inbo/actions/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
name: Releases | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
name: Create Release | ||
- v* | ||
workflow_run: | ||
workflows: ["check package on main with checklist"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
build: | ||
name: Create Release | ||
publish: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Get tag message | ||
- uses: actions/checkout@v3 | ||
- name: Get tag | ||
run: | | ||
TAG_BODY=$(git tag --contains ${{ github.sha }} -n100 | awk '(NR>1)') | ||
echo "::set-output name=TAG_BODY::$TAG_BODY" | ||
id: tag-body | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
git fetch --tags --force | ||
TAG=$(git tag --contains $(git rev-parse HEAD)) | ||
TAG_BODY=$(git tag --contains $(git rev-parse HEAD) --format='%(contents)') | ||
echo "tag=$TAG" >> $GITHUB_ENV | ||
echo "$TAG_BODY" > body.md | ||
- uses: ncipollo/release-action@v1 | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
body: ${{ steps.tag-body.outputs.TAG_BODY }} | ||
draft: false | ||
prerelease: false | ||
name: Release ${{ env.tag }} | ||
tag: ${{ env.tag }} | ||
bodyFile: body.md |
Oops, something went wrong.