Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change some files for an example #7

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Default all changes to backporting to 1.x branch
backport 1.x:
- '*'
- '*/*'
- '*/**/*'
- '*/**/**/*'
- '*/**/**/**/*'
- '*/**/**/**/**/*'
- '*/**/**/**/**/**/*'
- '*/**/**/**/**/**/**/*'
- '*/**/**/**/**/**/**/**/*'
- '*/**/**/**/**/**/**/**/**/*'
- '.github/**/*'

# Adding "github actions" label to files in .github or its subdirectories
github actions:
- '.github/**/*'

# Adding "documentation" label to markdown files or updating release notes
documentation:
- '*.md'
- 'release-notes/*'

# Adding a "dependencies" label when yarn.lock is updated
dependencies:
- 'yarn.lock'
26 changes: 26 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Pull Request Labeler"
on:
pull_request_target:
branches:
- main
types:
- opened

jobs:
label:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: GitHub App token
id: github_app_token
uses: tibdex/[email protected]
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
installation_id: ${{ secrets.APP_INSTALLATION_ID }}
- name: Label
uses: actions/labeler@v4
with:
repo-token: ${{ steps.github_app_token.outputs.token }}
2 changes: 2 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
This project follows the [OpenSearch release process](https://github.com/opensearch-project/.github/blob/main/RELEASING.md).

Change this file.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* GitHub history for details.
*/

// change this file
import React from 'react';
import { render } from '@testing-library/react';
import { AlertsButton } from '../AlertsButton';
Expand Down