Skip to content

Commit

Permalink
chore: rename branch in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
m-yosefpor committed Jun 29, 2021
1 parent 5a61936 commit 362d848
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 33 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ name: "CodeQL"

on:
push:
branches: [ main ]
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
branches: [ master ]
schedule:
- cron: '41 10 * * 0'

Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# queries: ./path/to/local/query, your-org/your-repo/queries@master

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Docker

on:
push:
# Publish `main` as Docker `latest` image.
# Publish `master` as Docker `latest` image.
branches:
- main
- master

# Publish `v1.2.3` tags as releases.
tags:
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
# Use Docker `latest` tag convention
[ "$VERSION" == "main" ] && VERSION=latest
[ "$VERSION" == "master" ] && VERSION=latest
echo IMAGE_ID=$IMAGE_ID
echo VERSION=$VERSION
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/go-test.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Go

on:
push:
branches: [ main ]
branches: [ master ]
pull_request:
branches: [ main ]
branches: [ master ]

jobs:

Expand Down

0 comments on commit 362d848

Please sign in to comment.