brew/.github/workflows/copilot-setup-steps.yml
Mike McQuaid 985a91952a
Add Copilot instructions and setup steps
This will allow us to play around with Copilot agents.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-24 09:18:36 +01:00

33 lines
819 B
YAML

name: Copilot Setup Steps
on:
workflow_dispatch:
pull_request:
paths:
- .github/workflows/copilot-setup-steps.yml
jobs:
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
copilot-setup-steps:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@main
with:
core: true
cask: true
test-bot: true
- run: brew install-bundler-gems --groups=all
# install Homebrew formulae we might need
- run: brew install shellcheck shfmt gh gnu-tar subversion curl
# brew tests doesn't like world writable directories
- run: sudo chmod -R g-w,o-w /home/linuxbrew/.linuxbrew/Homebrew