Skip to content

fix: add artifact-metadata permission to workflow schema#6069

Open
vincent067 wants to merge 1 commit intonektos:masterfrom
vincent067:fix/add-artifact-metadata-permission
Open

fix: add artifact-metadata permission to workflow schema#6069
vincent067 wants to merge 1 commit intonektos:masterfrom
vincent067:fix/add-artifact-metadata-permission

Conversation

@vincent067
Copy link
Copy Markdown

Description

This PR adds the missing artifact-metadata permission to the GitHub Actions workflow schema.

The artifact-metadata permission was recently introduced by GitHub and allows workflows to control access to artifact metadata. Without this permission in the schema, act fails validation for workflows that use this permission.

Changes

  • Added artifact-metadata to the permissions-mapping section in pkg/schema/workflow_schema.json

Testing

  • Validated the JSON schema using python3 -m json.tool
  • The change follows the existing pattern for other permissions

Fixes #6025

Adds the missing 'artifact-metadata' permission to the GitHub Actions
workflow schema. This permission is used to control access to artifact
metadata in workflows.

Fixes nektos#6025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Schema validation errors, but the Extension reports no problems

1 participant