Skip to content

Setup staging branch - #509

Merged
anish-mudaraddi merged 3 commits into
stagingfrom
update-ci-for-staging
Sep 4, 2026
Merged

Setup staging branch#509
anish-mudaraddi merged 3 commits into
stagingfrom
update-ci-for-staging

Conversation

@gmatthews20

@gmatthews20 gmatthews20 commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Description:

Sets up some CI workflows for the new staging branch

Special Notes:


Submitter:

Have you (where applicable):

  • Added unit tests?
  • Checked the latest commit runs on Dev?
  • Updated the example config file(s) and README?

Reviewer

Does this PR:

  • Place non-StackStorm code into the lib directory?
  • Have unit tests for the action/sensor and lib layers?
  • Have clear and obvious action parameter names and descriptions?

@codecov

codecov Bot commented Aug 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (staging@c5770eb). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             staging     #509   +/-   ##
==========================================
  Coverage           ?   99.10%           
==========================================
  Files              ?      112           
  Lines              ?     2787           
  Branches           ?      340           
==========================================
  Hits               ?     2762           
  Misses             ?       22           
  Partials           ?        3           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gmatthews20 gmatthews20 changed the title Update CodeQL workflow to include staging branch Setup staging branch Aug 26, 2026
Should fail when attempting to merge into main bypassing staging
@gmatthews20
gmatthews20 force-pushed the update-ci-for-staging branch from 6b0b720 to 171b54f Compare August 26, 2026 15:13
This workflow automates the promotion of changes from the staging branch to the master branch on a weekly schedule.
add "" around branch

use || instead of or

rewrite
@gmatthews20
gmatthews20 marked this pull request as ready for review August 27, 2026 13:32
branches: [ "main" ]
branches:
- "staging"
- "main"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will it be needed to check both branches? If I understood the workflow, staging will always have everything that main has, and a little bit more. So inspecting staging should be enough, right?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is true that everything will be inspected as it goes through staging. However it doesn't cost us anything to run it on both

@anish-mudaraddi
anish-mudaraddi merged commit 1b2c649 into staging Sep 4, 2026
14 checks passed
@anish-mudaraddi
anish-mudaraddi deleted the update-ci-for-staging branch September 4, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants