Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update references to master branch. #97

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
- cron: "0 0 * * *"
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
jobs:
script:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: install
run: |
(cd mayavi; git fetch origin; git checkout master; git reset --hard origin/master; git branch -a)
(cd mayavi; git fetch origin; git checkout main; git reset --hard origin/main; git branch -a)
pip3 install -U pip setuptools
pip3 install -r ./requirements.txt
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
Expand All @@ -57,7 +57,7 @@ jobs:
git config --global user.email $GITHUB_REPOSITORY
git config --global user.name $GITHUB_REPOSITORY
- name: commit
if: contains(github.event.head_commit.message, '[ci skip]') == false && contains(github.ref, 'master')
if: contains(github.event.head_commit.message, '[ci skip]') == false && contains(github.ref, 'main')
env:
JOB_ID: ${{ steps.jobs.outputs.job_id }}
HTML_URL: ${{ steps.jobs.outputs.html_url }}
Expand All @@ -67,4 +67,4 @@ jobs:
$HTML_URL"
git remote -v
git remote add github [email protected]:$GITHUB_REPOSITORY.git
git push github master
git push github main
Loading