Skip to content

Commit

Permalink
Points DevOps flow to hta-pharma/ramnog consolidating both pre-commit…
Browse files Browse the repository at this point in the history
… config and github actions
  • Loading branch information
HenrikSpiegel committed Mar 20, 2024
1 parent 4a7f60c commit 06e31ca
Show file tree
Hide file tree
Showing 16 changed files with 21 additions and 711 deletions.
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
35 changes: 1 addition & 34 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 @@ -12,38 +9,8 @@ name: Check Package 📦

jobs:
check:
name: Run checks hosted on hta-pharma/ramnog
name: Checks (from ramnog)
uses: hta-pharma/ramnog/.github/workflows/Check-package.yaml@feature/workflows_final
# 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 }}



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: Check 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@feature/workflows_final



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

This file was deleted.

Loading

0 comments on commit 06e31ca

Please sign in to comment.