Skip to content

Release internal patch #84

Release internal patch

Release internal patch #84

# What?
#
# Tag and release an arbitrary ref. Uploads to an internal archive for further processing.
#
# How?
#
# After checking out and testing the provided ref, the image is built and uploaded.
#
# When?
#
# Manual trigger.
name: "Release internal patch"
on:
workflow_dispatch:
inputs:
ref:
description: "The ref (sha or branch name) to use"
type: string
default: "main"
required: true
package_test_command:
description: "Package test command"
type: string
default: "python -c \"import dbt.adapters.postgres\""
required: true
skip_tests:
description: "Should the tests be skipped? (default to false)"
type: boolean
required: true
default: false
permissions:
id-token: write
contents: read
defaults:
run:
shell: "bash"
jobs:
invoke-reusable-workflow:

Check failure on line 43 in .github/workflows/release-internal.yml

View workflow run for this annotation

GitHub Actions / Release internal patch

Invalid workflow file

The workflow is not valid. .github/workflows/release-internal.yml (Line: 43, Col: 3): Error calling workflow 'dbt-labs/dbt-release/.github/workflows/internal-archive-release.yml@update_security_for_internal_release'. The workflow is requesting 'actions: read, attestations: read, checks: read, deployments: read, discussions: read, issues: read, packages: read, pages: read, pull-requests: read, repository-projects: read, statuses: read, security-events: read', but is only allowed 'actions: none, attestations: none, checks: [...]
name: "Build and Release Internally"
uses: "dbt-labs/dbt-release/.github/workflows/internal-archive-release.yml@update_security_for_internal_release"
with:
package_test_command: "${{ inputs.package_test_command }}"
dbms_name: "postgres"
ref: "${{ inputs.ref }}"
skip_tests: "${{ inputs.skip_tests }}"
secrets: "inherit"