other: master -> main (#1349)

* other: master -> main

I'm so used to using `main` branch now that it's actually kinda annoying
to use `master` for just this repo... so might as well rename it now.

* overzealous change

* wording

* some wording

* allow auto-cancel for tests if not main
This commit is contained in:
Clement Tsang
2023-12-06 00:16:26 -05:00
committed by GitHub
parent bc6a8d7feb
commit dab4b6c483
17 changed files with 40 additions and 40 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ on:
pull_request:
push:
branches:
- master
- main
env:
RUST_BACKTRACE: 1
+2 -2
View File
@@ -30,9 +30,9 @@ jobs:
- name: Clear cache
run: |
if [[ -n "${{ github.event.schedule }}" ]]; then
python ./scripts/clear_cache.py keep-master
python ./scripts/clear_cache.py keep-main
sleep 5
python ./scripts/clear_cache.py keep-master
python ./scripts/clear_cache.py keep-main
elif [[ -z "${{ github.event.inputs.id }}" ]]; then
python ./scripts/clear_cache.py ${{ github.event.pull_request.number }}
sleep 5
+1 -1
View File
@@ -10,7 +10,7 @@ on:
pull_request:
push:
branches:
- master
- main
env:
CARGO_INCREMENTAL: 0
+1 -1
View File
@@ -5,7 +5,7 @@ on:
workflow_dispatch:
push:
branches:
- master
- main
paths:
- "docs/**"
- ".github/workflows/docs.yml"