unl / wdntemplates

The UNLedu Web Framework (WDN Templates) – Coordinated by the Web Developer Network
https://wdn.unl.edu
35 stars 32 forks source link

Added new github workflow #1682

Closed tommyneu closed 1 year ago

tommyneu commented 1 year ago

Added new Github Workflow for bumping the DCF version automatically. It will make a pull request with the package-lock's DCF package commit version being updated. Due to the method for testing the last PR was closed #1681.

This Github Workflow will do the following:

  1. Get the timestamp of the latest commit of DCF branch 3.0
  2. Check to see if a commit has been made within the last hour
    • If not it will exit the workflow
  3. Get new commit hash and modify package-lock DCF version
  4. Create new pull request
    • If no changes were made to the package-lock no pull request will be made

Pull requests will use these customizations:

title: "Bump DCF"
body: "Updated DCF commit hash"
branch: "dcf-dump-branch"
commit-message: "Bumped DCF"
labels: dependency
reviewers: tommyneu
auto-merge: squash
update-pull-request-title-and-body: false

The triggers for the workflow will be:

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information