Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

SyntaxError: Unexpected string

Offen
#292 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
github-actions, yaml
Bereich
ci-cd

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
TypeScript
Sterne
5k
Forks
586
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus actions/github-script

Alle Issues in actions/github-script

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.