Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.1.1 in order to centralize workflows. #11

Merged
merged 4 commits into from
Mar 21, 2024
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
2 changes: 1 addition & 1 deletion .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ for branch in "${protected_branches[@]}"; do
done


exit 0
exit 0
34 changes: 2 additions & 32 deletions .github/workflows/Check-package.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@



on:
push:
branches: [main, stage, dev]
Expand All @@ -11,36 +8,9 @@ on:
name: Check Package 📦

jobs:
audit:
name: Audit Dependencies 🕵️‍♂️
uses: insightsengineering/r.pkg.template/.github/workflows/audit.yaml@main

licenses:
name: License Check 🃏
uses: insightsengineering/r.pkg.template/.github/workflows/licenses.yaml@main

check:
name: RMD check 📦
uses: ./.github/workflows/R-CMD-check.yaml

test:
name: Test 🧪
uses: ./.github/workflows/Test.yaml

gitleaks:
name: gitleaks 💧
uses: insightsengineering/r.pkg.template/.github/workflows/gitleaks.yaml@main
with:
check-for-pii: true

# vbump:
# name: Version Bump 🤜🤛
# if: github.event_name == 'push' && github.ref != 'refs/heads/main'
# uses: insightsengineering/r.pkg.template/.github/workflows/version-bump.yaml@main
# with:
# disable-precommit-autoupdate: true
# secrets:
# REPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: Checks (from ramnog)
uses: hta-pharma/ramnog/.github/workflows/Check-package.yaml@main



50 changes: 0 additions & 50 deletions .github/workflows/R-CMD-check.yaml

This file was deleted.

34 changes: 14 additions & 20 deletions .github/workflows/Release-package.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
on:
push:
branches: main
pull_request:
branches: main
workflow_dispatch:
on:
push:
branches: [main, stage, dev]
pull_request:
branches: [main, stage, dev]
workflow_dispatch:

name: Release Package
name: Release Package 🚀

jobs:
build:
name: RMD Build and check
uses: ./.github/workflows/R-CMD-check.yaml
docs:
needs: build
name: Build and Deploy Docs
uses: ./.github/workflows/pkgdown.yaml
release:
needs: [build, docs]
name: Release
if: github.event_name != 'pull_request'
uses: ./.github/workflows/release.yaml
jobs:
check:
name: Release (from ramnog)
uses: hta-pharma/ramnog/.github/workflows/Release-package.yaml@main



180 changes: 0 additions & 180 deletions .github/workflows/Roxygen.yaml

This file was deleted.

Loading