GitHubGithub GH-600 Agentic AI Developer Certification ·EN ·Updated 15 Jul 2026

A repository uses this workflow to pass planning state from a first job to a second job. The team wants the second job to receive a short state summary and a file artifact without writing any repository changes. Evaluate the following statements. 1. The second job can read state_summary through the needs context. 2. The uploaded state.json file is available because the artifact is downloaded. 3. The workflow grants permissions for the agent to push repository changes.

name: share-agent-state

on:
  workflow_dispatch:
    inputs:
      issue_number:
        required: true
        type: string

permissions:
  contents: read
  issues: read

jobs:
  plan:
    runs-on: ubuntu-latest
    outputs:
      state_summary: ${{ steps.capture.outputs.state_summary }}
    steps:
      - uses: actions/checkout@v4

         - id: capture
           run: |
             mkdir -p .agent-state
             ./scripts/agent-plan \
               --issue "${{ inputs.issue_number }}" \
               --json .agent-state/state.json \
               --summary .agent-state/summary.txt
             echo "state_summary=$(cat .agent-state/summary.txt)" >> "$GITHUB_OUTPUT"

         - uses: actions/upload-artifact@v4
           with:
             name: agent-state
             path: .agent-state/state.json

   execute:
     runs-on: ubuntu-latest
     needs: plan
     steps:
       - uses: actions/download-artifact@v4
         with:
            name: agent-state

         - name: Continue agent
           env:
             STATE_SUMMARY: ${{ needs.plan.outputs.state_summary }}
           run: |
             ./scripts/continue-agent \
                --summary "$STATE_SUMMARY" \
                --state state.json

Choose an answer

Tap an option to check your answer.

Pass your exam — without the endless answer hunt

Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.

Pass your exam faster No card needed
✓ Verified by ExamRoll editorial · Updated 15 July 2026
All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product