Skip to content

Commit

Permalink
Merge pull request #211 from dnephin/add-merge-main-workflow
Browse files Browse the repository at this point in the history
Add github action for merging main branch
  • Loading branch information
dnephin committed Oct 31, 2020
2 parents 568bc57 + 4190a0e commit 84d691d
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 118 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/sync-main.yaml
@@ -0,0 +1,18 @@
name: Merge main into master

on:
push:
branches: [main]

jobs:
sync:
name: Merge main branch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with: {fetch-depth: 0}
- name: merge
run: |
git checkout master
git merge --ff-only main
git push origin master
18 changes: 0 additions & 18 deletions CONTRIBUTING.md
Expand Up @@ -10,21 +10,3 @@ explaining the feature and why it is necessary.

Pull requests for bug fixes are always appreciated. They should almost always
include a test which fails without the bug fix.

## Dependencies

At this time both a `Gopkg.toml` for `dep` and `go.mod` for go modules exist in
the repo. The `Gopkg.toml` remains so that projects using earlier versions of Go
are able to find compatible versions of dependencies.

If you need to make a change to a dependency:

1. Update `Gopkg.toml`.
2. Run the following to sync the changes to `go.mod`.
```
dep ensure
rm go.mod go.sum
go mod init
gotestsum
go mod tidy
```
18 changes: 0 additions & 18 deletions Gopkg.toml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -3,7 +3,7 @@
A collection of packages to augment `testing` and support common patterns.

[![GoDoc](https://godoc.org/gotest.tools?status.svg)](https://pkg.go.dev/gotest.tools/v3/?tab=subdirectories)
[![CircleCI](https://circleci.com/gh/gotestyourself/gotest.tools/tree/master.svg?style=shield)](https://circleci.com/gh/gotestyourself/gotest.tools/tree/master)
[![CircleCI](https://circleci.com/gh/gotestyourself/gotest.tools/tree/main.svg?style=shield)](https://circleci.com/gh/gotestyourself/gotest.tools/tree/main)
[![Go Reportcard](https://goreportcard.com/badge/gotest.tools)](https://goreportcard.com/report/gotest.tools)

## Usage
Expand Down
25 changes: 0 additions & 25 deletions appveyor.yml

This file was deleted.

56 changes: 0 additions & 56 deletions dobi.yaml

This file was deleted.

0 comments on commit 84d691d

Please sign in to comment.