Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

pagopa-archive/pagopa-gh-trigger

Repository files navigation

Strapi plugin pagopa-gh-trigger

This Strapi plugin was created to run (and list) multiple GithubActions using a simply dashboard.

How install

  • Add this package to Packages.json and install via yarn install.
  • Set in the plugin.ts(.js)of the Strapi instance this conf:
... other plugins,
"pagopa-gh-trigger": {
    enabled: true,
    config: {
      /* an Array of GithubActions configurations */
      enviroments: [
        {
          eventType: "YOUR_EVENT_TYPE_NAME_IN_GH_ACTION",
          ghOrg: "YOUR_ORG",
          ghRepo: "YOUR_REPO",
          ghToken: "<SECRET____GH_TOKEN>",
          ghWorflowFile: "NAME_OF_YAML_FILE_OF_WORKFLOW_ACTION",
          id: "PREFERRED_SHORT_NAME_ONLY_CHARS_AND_NUMBER",
          name: "A_FRIENDLY_NAME",
          userAgent: "CUSTOM_NAME_TO_PASS_TO_GH_ACTION",
          description: "OPTIONAL__DESCRIPTION_TO_HELP_EDITORS_WHEN_IN_DASHBOARD"
        },
      ]
    }
  },

Notes

There are a lot of enhancements to do ... feel free to contribute

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published