Skip to content

Commit

Permalink
rename from '1138-4EB' to 'eine'
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed Nov 18, 2021
1 parent cb6b826 commit 37537f3
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 26 deletions.
6 changes: 4 additions & 2 deletions .github/update_gha-tip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -e

ANSI_GRAY="\033[90m"

gstart () {
printf "$@\n"
}
Expand All @@ -11,12 +13,12 @@ gend () {

[ -n "$CI" ] && {
gstart () {
printf "::[group]$@\n"
printf "::group::$@\n"
SECONDS=0
}
gend () {
duration=$SECONDS
echo '::[endgroup]'
echo '::endgroup::'
printf "${ANSI_GRAY}took $(($duration / 60)) min $(($duration % 60)) sec.${ANSI_NOCOLOR}\n"
}
} || echo "INFO: not in CI"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
mwe:
runs-on: ubuntu-latest
steps:
- uses: 1138-4EB/issue-runner@gha-tip
- uses: eine/issue-runner@gha-tip
with:
token: ${{ secrets.GITHUB_TOKEN }}
allow-host: false
2 changes: 1 addition & 1 deletion .github/workflows/tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
cd tool/dist/binaries
mv ../issue-runner_linux_amd64/issue-runner issue-runner_lin_amd64
mv ../issue-runner_windows_amd64/issue-runner.exe issue-runner_win_amd64.exe
- uses: 1138-4EB/tip@gha-tip
- uses: eine/tip@gha-tip
with:
token: ${{ secrets.GITHUB_TOKEN }}
cwd: ${{ github.workspace }}
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<p align="center">
<a title="Go Report Card" href="https://goreportcard.com/report/github.com/1138-4EB/issue-runner"><img src="https://goreportcard.com/badge/github.com/1138-4EB/issue-runner?longCache=true&style=flat-square"></a><!--
<a title="Go Report Card" href="https://goreportcard.com/report/github.com/eine/issue-runner"><img src="https://goreportcard.com/badge/github.com/eine/issue-runner?longCache=true&style=flat-square"></a><!--
-->
<a title="godoc.org" href="https://godoc.org/github.com/1138-4EB/issue-runner/tool"><img src="http://img.shields.io/badge/godoc-reference-5272B4.svg?longCache=true&style=flat-square"></a><!--
<a title="godoc.org" href="https://godoc.org/github.com/eine/issue-runner/tool"><img src="http://img.shields.io/badge/godoc-reference-5272B4.svg?longCache=true&style=flat-square"></a><!--
-->
<a title="Dependency Status" href="https://david-dm.org/1138-4EB/issue-runner"><img src="https://img.shields.io/david/1138-4EB/issue-runner.svg?longCache=true&style=flat-square&label=deps"></a><!--
<a title="Dependency Status" href="https://david-dm.org/eine/issue-runner"><img src="https://img.shields.io/david/eine/issue-runner.svg?longCache=true&style=flat-square&label=deps"></a><!--
-->
<a title="DevDependency Status" href="https://david-dm.org/1138-4EB/issue-runner?type=dev"><img src="https://img.shields.io/david/dev/1138-4EB/issue-runner.svg?longCache=true&style=flat-square&label=devdeps"></a><!--
<a title="DevDependency Status" href="https://david-dm.org/eine/issue-runner?type=dev"><img src="https://img.shields.io/david/dev/eine/issue-runner.svg?longCache=true&style=flat-square&label=devdeps"></a><!--
-->
</p>

Expand All @@ -32,7 +32,7 @@ jobs:
mwe:
runs-on: ubuntu-latest
steps:
- uses: 1138-4EB/issue-runner@gha-v1
- uses: eine/issue-runner@gha-v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
allow-host: false
Expand All @@ -45,17 +45,17 @@ Note that `with` parameters are both optional:

## CLI tool

The CLI tool is a static binary written in golang, which can optionally use `docker`. It can be downloaded from [github.com/1138-4EB/issue-runner/releases](https://github.com/1138-4EB/issue-runner/releases), or it can be built from sources:
The CLI tool is a static binary written in golang, which can optionally use `docker`. It can be downloaded from [github.com/eine/issue-runner/releases](https://github.com/eine/issue-runner/releases), or it can be built from sources:

```
git clone https://github.com/1138-4EB/issue-runner
git clone https://github.com/eine/issue-runner
cd tool
go build -o issue-runner
```

<!--
```sh
curl -L https://raw.githubusercontent.com/1138-4EB/issue-runner/master/tool/get.sh | sh -
curl -L https://raw.githubusercontent.com/eine/issue-runner/master/tool/get.sh | sh -
```

> You can give it a try at [play-with-docker.com](https://labs.play-with-docker.com/). Just create a node and run the command above.
Expand Down Expand Up @@ -135,7 +135,7 @@ Providing a list of identifiers is also supported. For example:

```sh
issue-runner \
'https://raw.githubusercontent.com/1138-4EB/issue-runner/master/examples/vunit_py.md' \
'https://raw.githubusercontent.com/eine/issue-runner/master/examples/vunit_py.md' \
test/vunit_sh.md \
'VUnit/vunit#337' \
'ghdl/ghdl#579' \
Expand Down Expand Up @@ -201,9 +201,9 @@ After each commit is pushed to `master`:

- The action is built, tested and published to branch `gha-tip`.
- `golangci-lint` and `goreleaser` are executed in subdir `tool`, and `test.sh` is executed.
- Action [1138-4EB/tip@gha-tip](https://github.com/1138-4EB/issue-runner/tip) is used to update tag `tip` and tool artifacts are published as a pre-release named `tip`.
- Action [eine/tip@gha-tip](https://github.com/eine/issue-runner/tip) is used to update tag `tip` and tool artifacts are published as a pre-release named `tip`.

> NOTE: version `1138-4EB/issue-runner@gha-tip` of this action will automatically retrieve the CLI tool from [github.com/1138-4EB/issue-runner/releases/tag/tip](https://github.com/1138-4EB/issue-runner/releases/tag/tip).
> NOTE: version `eine/issue-runner@gha-tip` of this action will automatically retrieve the CLI tool from [github.com/eine/issue-runner/releases/tag/tip](https://github.com/eine/issue-runner/releases/tag/tip).
# ToDo

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'Issue runner'
description: 'Test MWEs provided in issue bodies'
author: '1138-4EB'
author: 'eine'
inputs:
token:
description: 'Token for the repo. Can be passed in using {{ secrets.GITHUB_TOKEN }}'
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/1138-4EB/issue-runner.git"
"url": "git+https://github.com/eine/issue-runner.git"
},
"keywords": [
"actions",
Expand All @@ -24,7 +24,7 @@
"labelling",
"label"
],
"author": "1138-4EB",
"author": "eine",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.2.0",
Expand Down
8 changes: 4 additions & 4 deletions tool/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ snapshot:
# - issue-runner
# dockerfile: Dockerfile
# image_templates:
# - "1138-4EB/issue-runner:{{ .Tag }}"
# - "1138-4EB/issue-runner:v{{ .Major }}"
# - "1138-4EB/issue-runner:v{{ .Major }}.{{ .Minor }}"
# - "1138-4EB/issue-runner:slim"
# - "eine/issue-runner:{{ .Tag }}"
# - "eine/issue-runner:v{{ .Major }}"
# - "eine/issue-runner:v{{ .Major }}.{{ .Minor }}"
# - "eine/issue-runner:slim"
# skip_push: true

release:
Expand Down
2 changes: 1 addition & 1 deletion tool/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/1138-4EB/issue-runner/tool
module github.com/eine/issue-runner/tool

go 1.13

Expand Down
2 changes: 1 addition & 1 deletion tool/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var rootCmd = &cobra.Command{
Short: "issue-runner executes MWEs from markdown files",
Long: `Execute Minimal Working Examples (MWEs) defined in markdown files,
in the body of GitHub issues or as tarballs/zipfiles.
Site: github.com/1138-4EB/issue-runner`,
Site: github.com/eine/issue-runner`,
Args: cobra.MinimumNArgs(1),
Run: func(cmd *cobra.Command, args []string) {
_, err := run(args, true)
Expand Down
4 changes: 2 additions & 2 deletions tool/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ set +e

for t in \
`ls ./__tests__/md/*.md` \
'https://raw.githubusercontent.com/1138-4EB/issue-runner/master/test/vunit_py.md' \
'https://raw.githubusercontent.com/eine/issue-runner/master/test/vunit_py.md' \
'VUnit/vunit#337' \
'ghdl/ghdl#579' \
'ghdl/ghdl#584' \
Expand All @@ -85,7 +85,7 @@ done

gstart "[test] mixed"
./issue-runner -y -c \
'https://raw.githubusercontent.com/1138-4EB/issue-runner/master/test/vunit_py.md' \
'https://raw.githubusercontent.com/eine/issue-runner/master/test/vunit_py.md' \
vunit_sh.md \
'VUnit/vunit#337'
gend
Expand Down

0 comments on commit 37537f3

Please sign in to comment.