Skip to content

About

Sentinel CI actions and templates for GitHub Actions and GitLab CI

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

Sentinel actions

CI actions and templates for Sentinel, for GitHub Actions and GitLab CI. Each runs in your own pipeline and your own site image, and sends Sentinel only what that check needs.

Action What it does GitHub Actions GitLab CI
Upgrade scan Drupal upgrade readiness from Upgrade Status, without installing it on production. truecms/sentinel-actions/upgrade-scan@v1.1.0 upgrade-scan/gitlab.yml
WireGuard SSH Connect a Linux workflow runner to a WireGuard peer and verify an SSH destination uses the tunnel. truecms/sentinel-actions/wireguard-ssh@v1.1.0 —

For a standalone workflow template, see the private Drupal database image example.

Each action folder documents the CI systems it supports and may include:

  • a native GitHub action (action.yml) or GitLab template (gitlab.yml),
  • examples/ with a complete workflow or job for the supported system,
  • prompts/ with an AI prompt you paste into your coding assistant, opened in your repository, to add the job for you.

Pin a release

Releases cover the whole repository: v1.0.0, v1.1.0 and so on. Use a tag you have reviewed, or a full commit SHA:

- uses: truecms/sentinel-actions/upgrade-scan@<full commit SHA>

GitLab templates download their script from the same tag and check its SHA-256 before they run it.

Secrets

Every credential goes into a CI secret (GitHub repository secret, or a masked and protected GitLab CI/CD variable). Never write one into a file, a commit or an AI chat. The actions never print them.

Development

shellcheck scripts/*.sh */scan.sh tests/*/stubs/*
bats tests/*/*.bats
node --test tests/wireguard-ssh.test.js

To release: run scripts/pin-release.sh vX.Y.Z, commit, then tag vX.Y.Z.

Licence

MIT. See LICENSE. Report security problems as described in SECURITY.md.

About

Sentinel CI actions and templates for GitHub Actions and GitLab CI

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages