YunaBraska / github-workflow-plugin

Your Ultimate Wingman for GitHub Workflows and Actions! 🚀
https://github.com/YunaBraska/github-workflow-plugin
Apache License 2.0
41 stars 8 forks source link

feat: Add code completion and annotator support for steps.*.{conclusion,outcome} #37

Closed YunaBraska closed 8 months ago

YunaBraska commented 8 months ago

Types of changes

Motivation

Why is this change required? What problem does it solve?

Code completion and annotation is incomplete for items under steps.* other than outputs.

Changes

Behaviour, Functionality, Screenshots, etc.

This pull request adds code completion and annotator support for steps.*.conclusion and steps.*.outcome. These properties are documented at https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context.

image

Success Check

How can we see or measure the change?

Try opening this simple workflow:

name: checks

on:
  pull_request: ~

jobs:
  checks:
    runs-on: ubuntu-22.04
    steps:
      - uses: actions/checkout@v4
        id: checkout

      - run: echo "${{ steps.checkout.outcome }}"