Skip to content

Update dependency electron to v43.1.0 #1225

Update dependency electron to v43.1.0

Update dependency electron to v43.1.0 #1225

Workflow file for this run

on:
workflow_dispatch:
schedule:
- cron: '0 12 * * *'
push:
branches:
- main
pull_request:
branches:
- main
name: Launch Scala Steward
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Deny-all default: each job opts back in to exactly what it needs.
permissions: {}
jobs:
# Decide once what this run does, then fan out to one job per kind so each
# appears as its own job in the UI. The shared pipeline lives in
# _scala-steward-run.yml; the jobs below only select it.
# LIVE - workflow_dispatch / schedule / push to main: opens PRs.
# DRY_RUN - pull_request: exercise the pipeline, open no PRs.
determine:
runs-on: ubuntu-24.04
permissions:
contents: read
outputs:
kind: ${{ steps.kind.outputs.kind }}
steps:
- name: Determine run kind
id: kind
run: |
case "$GITHUB_EVENT_NAME" in
pull_request) KIND=DRY_RUN ;;
*) KIND=LIVE ;;
esac
echo "Run kind: $KIND"
echo "kind=$KIND" >> "$GITHUB_OUTPUT"
live:
needs: determine
if: needs.determine.outputs.kind == 'LIVE'
permissions:
contents: read
uses: ./.github/workflows/_scala-steward-run.yml
with:
kind: LIVE
secrets: inherit
dry-run:
needs: determine
if: needs.determine.outputs.kind == 'DRY_RUN'
permissions:
contents: read
uses: ./.github/workflows/_scala-steward-run.yml
with:
kind: DRY_RUN
secrets: inherit