why are these keywords highlighted in my git workflow yaml file

i've been losing my mind a bit over this and can't figure it out. i'm editing a github workflow yaml file for my .NET project and all throughout the file these various fields are highlighted. like…ALL throughout the file.

it's actually super annoying and i can't figure out how to turn it off. even turning off syntax highlighting and inspections doesn't change it. mousing over those words just pulls up the documentation for them, which for most is "no documentation found" but some do have docs so i don't think it's a docs issue.

anyone have a clue what this highlight is and how to turn it off?

0
1 comment

I used the following example .yaml text

name: Deploy Plugin

on:
  workflow_dispatch:
    inputs:
      release_type:
        description: 'Type of release'
        required: true
        default: 'minor'

jobs:
  compute-inputs:
    runs-on: ubuntu-latest
    env:
      RELEASE_TYPE: ${{ inputs.release_type }}
    outputs:
      version_change: ${{ steps.compute-inputs.outputs.version_change }}
      start_time: ${{ steps.compute-inputs.outputs.start_time }}
    steps:
      - name: Compute version and time
        id: compute-inputs
        run: |
          echo "version_change=true" >> $GITHUB_OUTPUT
          echo "start_time=$(date -u +%Y-%m-%dT%H:%M:%SZ)" >> $GITHUB_OUTPUT

  use-computed-values:
    needs: compute-inputs
    runs-on: ubuntu-latest
    steps:
      - name: Use GitHub API with computed values
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        run: |
          const github = require('@actions/github');
          const core = require('@actions/core');

          async function run() {
            const workflows = await github.paginate(github.rest.actions.listWorkflowRuns, {
              owner: process.env.deploy_repo_owner,
              repo: process.env.deploy_repo_name,
              workflow_id: 'deploy_plugin.yml',
              created: `>${{ needs.compute-inputs.outputs.start_time }}`,
            });
            console.log(workflows);
          }

          run();

          

        and the display result was 

 

 

If your result is the same, then please share your YAML file. Otherwise, please temporarily disable all 3-rd party plugins and let us know if the issue is still reproduced. 

0

Please sign in to leave a comment.