https://github.com/cube-js/github-actions
Cube.js GitHub Actions to automate things
https://github.com/cube-js/github-actions
Last synced: 7 months ago
JSON representation
Cube.js GitHub Actions to automate things
- Host: GitHub
- URL: https://github.com/cube-js/github-actions
- Owner: cube-js
- Created: 2020-10-26T16:52:11.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-10-27T13:35:48.000Z (about 2 years ago)
- Last Synced: 2024-04-17T04:59:36.812Z (over 1 year ago)
- Language: TypeScript
- Size: 89.8 KB
- Stars: 4
- Watchers: 13
- Forks: 2
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cube.js GitHub Actions
> Cube.js GitHub Actions to automate things
## Author Detector
> Label issues/prs with labels for core team and community members
## Configuration
| Name | Description | Default |
|-------------------|----------------------------------|------------------------|
| coreLabel | Label name for core authors | core team |
| addCoreLabel | Label for for core authors? | true |
| communityLabel | Label name for community authors | community contribution |
| addCommunityLabel | Label for community authors? | true |
## Supported events:
- issues
- pull_request_target
- pull_request
Example of usage:
```yml
name: Detect author for Issues & PRs
on:
issues:
types: [opened]
pull_request_target:
types: [opened]
pull_request:
types: [opened]
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: 'cube-js/github-actions'
path: ./actions
ref: main
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Detect author
uses: ./actions/author-detector
with:
token: ${{secrets.GITHUB_TOKEN}}
coreLabel: pr:core
communityLabel: pr:community
```