Skip to content

process-analytics/github-actions-playground

Repository files navigation

github-actions-playground

Let's play with GitHub Actions!

We use this repository to test and configure GitHub Workflows prior their real usage in repositories of the Process Analytics organization.

GitHub pages environment generated by this repository

Miscellaneous

Administrative tasks

TODO they are going to move in another repositories as they are not playground workflows. See #229.

Release simulation

bpmn-visualization

Simulate bpmn-visualization release, assets generation and companion repositories updates

The Release of bpmn-visualization workflow runs npm version and pushes branch/tag on a branch with restricted rules (used in bpmn-visualization).

Then, you can run a dedicated workflow builds a fake demo, attaches it as an artifact and sends a repository_dispatch event to simulate notification of companion repositories as done in bpmn-visualization.

Another workflow can be triggered manually to simulate the availability of a new version of the npm package. It will send a repository_dispatch event that will trigger the workflow mentioned above.

NOTE: in the bpmn-visualization repository, this workflow is triggered automatically.

The event is received by the repository which triggers workflows (simulate what happen in companion repositories)

bpmn-visualization-examples

When a tag is pushed in this repository, a new GitHub draft release is created as it is done in bpmn-visualization-examples. See the related workflow.

bpmnVisualizationR

The Release of bpmnVisualizationR package workflow update the README.md file and the DESCRIPTION file, commit the modification, and pushes branch/tag on a branch with restricted rules (used in bpmn-visualization-R).

Extra

The following simulates the content of the README.md file of bpmn-visualization-R repository. This content is updated automatically during the release process.

Install bpmnVisualizationR from GitHub

To install a dedicated version (available versions can be found in the GitHub releases page), run:

devtools::install_github("process-analytics/[email protected]")