Skip to content

Changing Release Workflow #1

Changing Release Workflow

Changing Release Workflow #1

Workflow file for this run

name: Publish Release
on:
workflow_dispatch:
inputs:
branch:
description: The branch to release from.
required: true
default: master
push:
branches:
- 'adding-reversing-labs-scanner'
permissions:
contents: read
id-token: write # This is required for requesting the JWT
jobs:
rl-scanner:
uses: ./.github/workflows/rl-scanner.yml
with:
ruby-version: 3.2
secrets:
RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}
SIGNAL_HANDLER_TOKEN: ${{ secrets.SIGNAL_HANDLER_TOKEN }}
PRODSEC_TOOLS_USER: ${{ secrets.PRODSEC_TOOLS_USER }}
PRODSEC_TOOLS_TOKEN: ${{ secrets.PRODSEC_TOOLS_TOKEN }}
PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}
publish:
uses: ./.github/workflows/ruby-release.yml
needs: rl-scanner
runs-on: ubuntu-latest

Check failure on line 35 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / Publish Release

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 35, Col: 5): Unexpected value 'runs-on' .github/workflows/publish.yml (Line: 36, Col: 5): Unexpected value 'environment'
environment: release
with:
ruby-version: 3.2
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
rubygems-token: ${{ secrets.RUBYGEMS_AUTH_TOKEN }}