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

testing(codeowners-plus-plus): testing codeowners-plus-plus #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 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
22 changes: 22 additions & 0 deletions .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Sample workflow run

on: pull_request

jobs:
example:
name: Example Job
runs-on: ubuntu-latest
permissions:
pull-requests: read
contents: read

steps:
- uses: actions/checkout@v3

- name: Run one-line script
run: echo Starting the codeowners-plus-plus example run

- name: Run codeowners-plus-plus
uses: anshulsahni/codeowners-plus-plus@dc3512030d75ed27c8f47cb662bd8da554c87e9d
with:
token: ${{secrets.GITHUB_TOKEN}}
1 change: 1 addition & 0 deletions example/index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Testing for codeowners plus plus -->
<!DOCTYPE html>
<html>
<head>
Expand Down
2 changes: 1 addition & 1 deletion src/Family.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Component, PropTypes } from 'react';

// Testing Codeowners plus plus
import map from 'lodash.map';
import head from 'lodash.head';

Expand Down
7 changes: 4 additions & 3 deletions test/Example.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const React = require('react');
const enzyme = require('enzyme');
const expect = require('chai').expect;
// Testing codeowners plus plus
const React = require("react");
const enzyme = require("enzyme");
const expect = require("chai").expect;

const shallow = enzyme.shallow;

Expand Down