You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using GitHub environments for deployment with rules setup to protect the GitHub actions from running the deployment to production without approval. I am using the GitHub Runner scaler to trigger a self hosted runner to start. The trigger is only sent once the approval has gone ahead despite the development environment not having any approval rules.
These are two separate jobs like this:
on:
workflow_dispatch:
jobs:
migrate-dev:
runs-on: self-hostedenvironment: dev <- This environment has no protection rulessteps: .....migrate-prod:
runs-on: self-hostedenvironment: production <- This environment requires approval before deploymentsteps: .....
I am running my self hosted runner on an Azure Container App Job which makes use of the KEDA Github Runner Scaler
Expected Behavior
I expect the first job (on the development environment) to trigger immediately and then the production environment to wait until it's been approved before triggering.
Actual Behavior
The trigger isn't happening for either jobs until the approval rule has been satisfied.
Steps to Reproduce the Problem
Setup a GitHub Action with two jobs.
Setup two GitHub environments one with protection rules one without.
Assign the environments to the GitHub Action jobs
Trigger the action
Wait for the trigger - it won't come through
Approve one of the jobs - the trigger will start
Logs from KEDA operator
N/A
KEDA Version
2.12.1
Kubernetes Version
None
Platform
Microsoft Azure
Scaler Details
Github Runner Scaler
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Report
I am using GitHub environments for deployment with rules setup to protect the GitHub actions from running the deployment to production without approval. I am using the GitHub Runner scaler to trigger a self hosted runner to start. The trigger is only sent once the approval has gone ahead despite the development environment not having any approval rules.
These are two separate jobs like this:
I am running my self hosted runner on an Azure Container App Job which makes use of the KEDA Github Runner Scaler
Expected Behavior
I expect the first job (on the development environment) to trigger immediately and then the production environment to wait until it's been approved before triggering.
Actual Behavior
The trigger isn't happening for either jobs until the approval rule has been satisfied.
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.12.1
Kubernetes Version
None
Platform
Microsoft Azure
Scaler Details
Github Runner Scaler
Anything else?
No response
The text was updated successfully, but these errors were encountered: