Skip to content

Commit

Permalink
Merge pull request #21 from TinkurLab/tinkurlab-transfer
Browse files Browse the repository at this point in the history
Tinkurlab transfer
  • Loading branch information
adamzolyak authored Feb 6, 2022
2 parents aa9901d + e90dd5f commit c9cd7b7
Show file tree
Hide file tree
Showing 8 changed files with 6,471 additions and 4,671 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Validate
on: [pull_request]

jobs:
validate-code:
name: Test GH action with unit testing
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v2

- name: Setup NodeJS
uses: actions/setup-node@v2
with:
node-version: 14
check-latest: true

- name: Install dependencies
run: npm ci

- name: Run Unit tests
run: npm test -- --ci
4 changes: 1 addition & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ We'd also love PRs. If you're thinking of a large PR, we advise opening up an is

Tests are written in [Jest](https://jestjs.io/en/). Tests automatically run on check in.

Test Status: [![CircleCI](https://circleci.com/gh/adamzolyak/issue-labeler-action/tree/master.svg?style=svg)](https://circleci.com/gh/adamzolyak/commit-issue-commenter-action/tree/master)

### To run tests locally

1. run `npm install` to install dependencies
Expand All @@ -26,7 +24,7 @@ Test Status: [![CircleCI](https://circleci.com/gh/adamzolyak/issue-labeler-actio

```bash
export GITHUB_TOKEN="12345"
export GITHUB_REPOSITORY="adamzolyak/actions-playground"
export GITHUB_REPOSITORY="tinkurlab/actions-playground"
export GITHUB_EVENT_PATH="/issue-labeler-action/tests/fixtures/actionTrigger.json"

node app.js
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM node:8-slim
FROM node:14

LABEL "com.github.actions.name"="Issue Bulk Labeler"
LABEL "com.github.actions.description"="Bulk add labels when creating an issue"
LABEL "com.github.actions.icon"="tag"
LABEL "com.github.actions.color"="green"

LABEL "repository"="http://github.com/adamzolyak/issue-labeler-action"
LABEL "repository"="http://github.com/tinkurlab/issue-labeler-action"
LABEL "homepage"="http://www.tinkurlab.com"
LABEL "maintainer"="Adam Zolyak <[email protected]>"

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
name: Bulk Issue Labeler
runs-on: ubuntu-latest
steps:
- uses: adamzolyak/issue-labeler-action@master
- uses: tinkurlab/issue-labeler-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
Expand All @@ -46,4 +46,4 @@ If you have suggestions for how this GitHub Action could be improved, or want to
## License
[ISC](LICENSE) © 2019 Adam Zolyak <[email protected]> (www.tinkurlab.com)
[ISC](LICENSE) © 2021 Adam Zolyak <[email protected]> (www.tinkurlab.com)
2 changes: 1 addition & 1 deletion dev.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

export GITHUB_TOKEN="12345"
export GITHUB_REPOSITORY="adamzolyak/actions-playground"
export GITHUB_REPOSITORY="tinkurlab/actions-playground"
export GITHUB_EVENT_PATH="/issue-labeler-action/tests/fixtures/actionTrigger.json"

node app.js
Loading

0 comments on commit c9cd7b7

Please sign in to comment.