Skip to content

Missing maintainer value in enum for {job}.artifacts.access ? #1917

Description

@gj-honey

The following isn't accepted by gitlab-ci-local (but is accepted by real gitlab); works with other document roles (developer, none, all)
maintainer can be used for artifacts access since GL 18.4 -- https://docs.gitlab.com/ci/yaml/#artifactsaccess

Minimal .gitlab-ci.yml illustrating the issue

# Example straight from https://docs.gitlab.com/ci/jobs/job_artifacts/#control-who-can-download-artifacts
job:
  artifacts:
    access: maintainer
    paths:
      - build/

  script:
    - echo hello

Expected behavior
Success

Host information
macos, npx,
gitlab-ci-local 4.74.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions