Skip to content

Set Git's default branch name for new repos #353

Set Git's default branch name for new repos

Set Git's default branch name for new repos #353

name: prepare_docker.bash
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Prepare Docker
shell: bash # Avoids "Illegal option -o pipefail"
run: ./scripts/prepare_docker.bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Prepare Docker again (test idempotency)
shell: bash # Avoids "Illegal option -o pipefail"
run: ./scripts/prepare_docker.bash