Skip to content

secrets context in steps.with.args wrongly detected as not allowed #497

@Natim

Description

@Natim

Action lint wrongly detects secrets context as unusable in the step.with.args property:

on:
  schedule:
    - cron: 0 */12 * * *
  workflow_dispatch:

jobs:
  translations-pull-request:
    name: Update translations pull request
    runs-on: ubuntu-24.04
    permissions:
      contents: write
      id-token: write
      pull-requests: write
    steps:
      - name: Lokalise upload django.po fr
        uses: docker://lokalise/lokalise-cli-2:v3.0.2
        with:
          args: >-
            lokalise2 file upload
            --config lokalize.yml
            --file ./app/locale/fr/LC_MESSAGES/django.po
            --lang-iso="fr"
            --cleanup-mode="true"
            --distinguish-by-file
            --token ${{ secrets.LOKALISE_API_TOKEN }}

image

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