Skip to content

Add Hello World workflow with ubuntu-latest runner#1

Draft
Copilot wants to merge 4 commits intomainfrom
copilot/add-hello-world-workflow
Draft

Add Hello World workflow with ubuntu-latest runner#1
Copilot wants to merge 4 commits intomainfrom
copilot/add-hello-world-workflow

Conversation

Copy link

Copilot AI commented Nov 24, 2025

Creates a basic workflow demonstrating GitHub Actions with a free hosted runner.

Implementation

  • Workflow triggers on push/PR to main, plus manual dispatch
  • Single job on ubuntu-latest runner
  • Prints "Hello World" via shell command
  • Explicit contents: read permission following least-privilege principle
jobs:
  hello-world:
    runs-on: ubuntu-latest
    permissions:
      contents: read

    steps:
      - name: Print Hello World
        run: echo "Hello World"
Original prompt

Create an example Github actions workflow that prints hello world. The workflow shall run on the free github action runner using the standard ubuntu Docker container as workflow job runtime.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 3 commits November 24, 2025 15:00
Co-authored-by: MTomBosch <28620679+MTomBosch@users.noreply.github.com>
Co-authored-by: MTomBosch <28620679+MTomBosch@users.noreply.github.com>
Co-authored-by: MTomBosch <28620679+MTomBosch@users.noreply.github.com>
Copilot AI changed the title [WIP] Add GitHub actions workflow to print hello world Add Hello World workflow with ubuntu-latest runner Nov 24, 2025
Copilot AI requested a review from MTomBosch November 24, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants