This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import ast | |
| import os | |
| import re | |
| import tokenize | |
| from io import BytesIO | |
| from pathlib import Path | |
| def convert_to_snake_case(name): | |
| """Convert a camelCase string to snake_case.""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Variables Demo | |
| on: [push] | |
| # Define environment variables at workflow level | |
| env: | |
| WORKFLOW_VARIABLE: "This is available to all jobs" | |
| API_ENDPOINT: "https://api.example.com" | |
| jobs: | |
| demonstrate-variables: |