SyntaxError: Unexpected string

Aperta
#292 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
github-actions, yaml
Ambito
ci-cd

Direzione di ricerca

Start with the linked action logs, .github/mini_flows/s1_mandatory_filechanges/action.yml, and .github/workflows/on_push_to_master.yaml; reproduce the failure after changing CHANGELOG.md. Check how the integer or boolean environment value is written and passed between composite actions. Done means the workflow completes without the syntax error and the variable is accessible to the other composite actions.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Describe the bug
Getting Error 'Unexpected string' when trying to set an integer on environment variable .not sure why. my goals is to skip tests and other actions if the associated files are not changed

To Reproduce
Steps to reproduce the behavior: either check this action logs and composite action that is part of the main workflow , or:

  1. Clone this repo
  2. add some changes to CHANGELOG.md (any text addition/removal would do)
  3. push to your branch
  4. See error in action.yml

Expected behavior
the variable is setup successfully is able to be accessed by other composite actions

Screenshots
image

Desktop (please complete the following information):

  • OS: ubuntu latest

Additional context
I actually wanted to use boolean variables here, but neither integer nor boolean variable works

Lingua principale
TypeScript
Stelle
5k
Fork
586
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di actions/github-script

Tutte le issue di actions/github-script

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.