Skip to content

minvws/gfmodules-action-trigger-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

GFModules Trigger CI

  • This pipeline is designed to trigger a TI (test integration) workflow for a GFModules project. It will trigger the workflow and pass the necessary parameters.
  • The pipeline is designed to be as generic as possible, so they can be easily reused in any project.
  • This repository is a part of the generic GitHub Actions pipeline collection that can be used in any project.

Usage

Here is a basic example of how you can integrate it in your project.

Example workflow

This workflow is executed automatically on push to the main branch, except for dependabot merges.

name: GFModules Trigger CI

on:
  workflow_dispatch:
  pull_request:
  push:
    branches:
      - main

jobs:
  trigger-ci:
    runs-on: ubuntu-latest
    steps:
      - name: Trigger CI
        uses: minvws/gfmodules-action-trigger-ci/.github/actions/gfmodules-trigger-ci@main
        with:
          orac_htpasswd: ${{secrets.ORAC_HTPASSWD}}
          endpoint_url: ${{URL}}

Configuration

The action has inputs. The inputs are:

  • orac_htpasswd: The HTPassword for the ORAC endpoint. This is a secret and should be stored in the repository secrets. It should be in the format of user:pass.
  • endpoint_url: The URL of the ORAC endpoint. This is a required input and should be provided as a string.

Update the bundle

When making changes in the src/index.js, make sure you generate the bundle by running npm run bundle

Contributing

If you want to contribute a new pipeline, please check the reusable workflow guidelines in the GitHub documentation.

About

Repo gfmodules-action-trigger-ci for minvws

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •