├── .prettierignore ├── commitlint.config.js ├── public ├── robots.txt ├── favicon.ico ├── logo192.png ├── logo512.png ├── manifest.json └── index.html ├── .husky └── commit-msg ├── CODEOWNERS ├── src ├── setupTests.js ├── App.test.js ├── index.css ├── reportWebVitals.js ├── index.js ├── App.js ├── App.css └── logo.svg ├── .gitignore ├── .github └── workflows │ ├── release.yml │ └── ci.yml ├── .prettierrc.json ├── release.config.js ├── .startupbash.sh ├── package.json ├── README.md └── event.js /.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | node_modules 3 | coverage 4 | .vscode 5 | package-lock.json 6 | -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = {extends: ['@commitlint/config-conventional']} 2 | 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx --no -- commitlint --edit "" 5 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/babakDoraniArab/react-app-github-actions/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/babakDoraniArab/react-app-github-actions/HEAD/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/babakDoraniArab/react-app-github-actions/HEAD/public/logo512.png -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @babakdoranieficode 2 | *.js @babakdoranieficode 3 | *.yml @babakDoraniArab 4 | /public/ @babakdoranieficode -------------------------------------------------------------------------------- /src/setupTests.js: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import "@testing-library/jest-dom"; 6 | -------------------------------------------------------------------------------- /src/App.test.js: -------------------------------------------------------------------------------- 1 | import { render, screen } from "@testing-library/react"; 2 | import App from "./App"; 3 | 4 | test("renders learn react link", () => { 5 | render(); 6 | const linkElement = screen.getByText(/learn react/i); 7 | expect(linkElement).toBeInTheDocument(); 8 | }); 9 | -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", 4 | "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", 5 | sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | code { 11 | font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", 12 | monospace; 13 | } 14 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | .vscode 3 | 4 | # dependencies 5 | /node_modules 6 | /.pnp 7 | .pnp.js 8 | 9 | # testing 10 | /coverage 11 | 12 | # production 13 | /build 14 | 15 | # misc 16 | .DS_Store 17 | .env.local 18 | .env.development.local 19 | .env.test.local 20 | .env.production.local 21 | 22 | npm-debug.log* 23 | yarn-debug.log* 24 | yarn-error.log* 25 | -------------------------------------------------------------------------------- /src/reportWebVitals.js: -------------------------------------------------------------------------------- 1 | const reportWebVitals = (onPerfEntry) => { 2 | if (onPerfEntry && onPerfEntry instanceof Function) { 3 | import("web-vitals").then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { 4 | getCLS(onPerfEntry); 5 | getFID(onPerfEntry); 6 | getFCP(onPerfEntry); 7 | getLCP(onPerfEntry); 8 | getTTFB(onPerfEntry); 9 | }); 10 | } 11 | }; 12 | 13 | export default reportWebVitals; 14 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: Notify on Releases 2 | on: 3 | release: 4 | type: [published] 5 | jobs: 6 | slack-message: 7 | runs-on: ubuntu-latest 8 | steps: 9 | - name: send info to slack 10 | run: | 11 | curl -X POST -H 'Content-type: application/json' --data '{"text":"New release ${{github.event.release.tag_name}} is out <${{github.event.release.html_url}}|check it from here.>"}' ${{secrets.SLACK_WEB}} -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "arrowParens": "always", 3 | "bracketSameLine": false, 4 | "bracketSpacing": true, 5 | "embeddedLanguageFormatting": "auto", 6 | "htmlWhitespaceSensitivity": "css", 7 | "insertPragma": false, 8 | "jsxSingleQuote": false, 9 | "printWidth": 80, 10 | "proseWrap": "preserve", 11 | "quoteProps": "as-needed", 12 | "requirePragma": false, 13 | "semi": true, 14 | "singleQuote": false, 15 | "tabWidth": 2, 16 | "trailingComma": "es5", 17 | "useTabs": false, 18 | "vueIndentScriptAndStyle": false 19 | } 20 | -------------------------------------------------------------------------------- /release.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | branches: "master", 3 | repositoryUrl: "https://github.com/babakDoraniArab/react-app-github-actions", 4 | plugins: [ 5 | "@semantic-release/commit-analyzer", 6 | "@semantic-release/release-notes-generator", 7 | // "@semantic-release/npm", 8 | [ 9 | "@semantic-release/github", 10 | { 11 | assets: [ 12 | { path: "build.zip", label: "Build" }, 13 | { path: "coverage.zip", label: "Coverage" }, 14 | ], 15 | }, 16 | ], 17 | ], 18 | }; 19 | // // "@semantic-release/npm", this is for npm packages 20 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import ReactDOM from "react-dom/client"; 3 | import "./index.css"; 4 | import App from "./App"; 5 | import reportWebVitals from "./reportWebVitals"; 6 | 7 | const root = ReactDOM.createRoot(document.getElementById("root")); 8 | root.render( 9 | 10 | 11 | 12 | ); 13 | 14 | // If you want to start measuring performance in your app, pass a function 15 | // to log results (for example: reportWebVitals(console.log)) 16 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals 17 | reportWebVitals(); 18 | -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "logo192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "logo512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ], 21 | "start_url": ".", 22 | "display": "standalone", 23 | "theme_color": "#000000", 24 | "background_color": "#ffffff" 25 | } 26 | -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- 1 | import logo from "./logo.svg"; 2 | import "./App.css"; 3 | 4 | function App() { 5 | return ( 6 |
7 |
8 | logo 9 |

10 | Edit test ba navid src/App.js and save to reload. 11 |

12 | 18 | test ba 2 19 | 20 |
21 |
22 | ); 23 | } 24 | 25 | export default App; 26 | -------------------------------------------------------------------------------- /src/App.css: -------------------------------------------------------------------------------- 1 | .App { 2 | text-align: center; 3 | } 4 | 5 | .App-logo { 6 | height: 40vmin; 7 | pointer-events: none; 8 | } 9 | 10 | @media (prefers-reduced-motion: no-preference) { 11 | .App-logo { 12 | animation: App-logo-spin infinite 20s linear; 13 | } 14 | } 15 | 16 | .App-header { 17 | background-color: #282c34; 18 | min-height: 100vh; 19 | display: flex; 20 | flex-direction: column; 21 | align-items: center; 22 | justify-content: center; 23 | font-size: calc(10px + 2vmin); 24 | color: white; 25 | } 26 | 27 | .App-link { 28 | color: #61dafb; 29 | } 30 | 31 | @keyframes App-logo-spin { 32 | from { 33 | transform: rotate(0deg); 34 | } 35 | to { 36 | transform: rotate(360deg); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /.startupbash.sh: -------------------------------------------------------------------------------- 1 | echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js 2 | npx husky install 3 | npx husky add .husky/commit-msg 'npx --no -- commitlint --edit "$1"' 4 | 5 | # npx husky install 6 | # npx husky add .husky/commit-msg 'npx --no -- commitlint --edit "$1"' 7 | # if the above command does not work do the following command to create a hook 8 | # ## Add hook 9 | # npx husky add .husky/commit-msg 'npx --no -- commitlint --edit "$1"' 10 | # # Sometimes above command doesn't work in some command interpreters 11 | # # You can try other commands below to write npx --no -- commitlint --edit $1 12 | # # in the commit-msg file. 13 | # npx husky add .husky/commit-msg \"npx --no -- commitlint --edit '$1'\" 14 | # # or 15 | # npx husky add .husky/commit-msg "npx --no -- commitlint --edit $1" 16 | 17 | # # or 18 | # yarn husky add .husky/commit-msg 'yarn commitlint --edit $1' -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "test-app", 3 | "version": "0.1.0", 4 | "private": true, 5 | "dependencies": { 6 | "@testing-library/jest-dom": "^5.16.4", 7 | "@testing-library/react": "^13.1.1", 8 | "@testing-library/user-event": "^13.5.0", 9 | "react": "^18.0.0", 10 | "react-dom": "^18.0.0", 11 | "react-scripts": "5.0.1", 12 | "web-vitals": "^2.1.4" 13 | }, 14 | "scripts": { 15 | "start": "react-scripts start", 16 | "build": "react-scripts build", 17 | "test": "react-scripts test", 18 | "eject": "react-scripts eject", 19 | "format:check": "npx prettier --check \"**/*.{js,jsx,yml,yaml,json,css,scss,md}\"", 20 | "format": "npx prettier --write \"**/*.{js,jsx,yml,yaml,json,css,scss,md}\"" 21 | }, 22 | "husky": { 23 | "hooks": { 24 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" 25 | } 26 | }, 27 | "eslintConfig": { 28 | "extends": [ 29 | "react-app", 30 | "react-app/jest" 31 | ] 32 | }, 33 | "browserslist": { 34 | "production": [ 35 | ">0.2%", 36 | "not dead", 37 | "not op_mini all" 38 | ], 39 | "development": [ 40 | "last 1 chrome version", 41 | "last 1 firefox version", 42 | "last 1 safari version" 43 | ] 44 | }, 45 | "devDependencies": { 46 | "@commitlint/cli": "^16.2.4", 47 | "@commitlint/config-conventional": "^16.2.4", 48 | "husky": "^4.3.8", 49 | "prettier": "2.6.2", 50 | "semantic-release": "^19.0.2" 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 12 | 13 | 17 | 18 | 27 | React App 28 | 29 | 30 | 31 |
32 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /src/logo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Getting Started with Create React App 2 | 3 | This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). 4 | 5 | ## Available Scripts 6 | 7 | In the project directory, you can run: 8 | 9 | ### `npm start` 10 | 11 | Runs the app in the development mode.\ 12 | Open [http://localhost:3000](http://localhost:3000) to view it in your browser. 13 | 14 | The page will reload when you make changes.\ 15 | You may also see any lint errors in the console. 16 | 17 | ### `npm test` 18 | 19 | Launches the test runner in the interactive watch mode.\ 20 | See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. 21 | 22 | ### `npm run build` 23 | 24 | Builds the app for production to the `build` folder.\ 25 | It correctly bundles React in production mode and optimizes the build for the best performance. 26 | 27 | The build is minified and the filenames include the hashes.\ 28 | Your app is ready to be deployed! 29 | 30 | See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. 31 | 32 | ### `npm run eject` 33 | 34 | **Note: this is a one-way operation. Once you `eject`, you can't go back!** 35 | 36 | If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. 37 | 38 | Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own. 39 | 40 | You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it. 41 | 42 | ## Learn More 43 | 44 | You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). 45 | 46 | To learn React, check out the [React documentation](https://reactjs.org/). 47 | 48 | ### Code Splitting 49 | 50 | This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) 51 | 52 | ### Analyzing the Bundle Size 53 | 54 | This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) 55 | 56 | ### Making a Progressive Web App 57 | 58 | This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) 59 | 60 | ### Advanced Configuration 61 | 62 | This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) 63 | 64 | ### Deployment 65 | 66 | This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) 67 | 68 | ### `npm run build` fails to minify 69 | 70 | This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify) 71 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | on: 3 | pull_request: 4 | branches: [develop, master] 5 | push: 6 | branches: [develop, master] 7 | env: 8 | STAGING_SURGE_DOMAIN: various-sponge2.surge.sh 9 | PROD_SURGE_DOMAIN: dispensable-place2.surge.sh 10 | jobs: 11 | build: 12 | runs-on: ubuntu-latest 13 | env: 14 | SURGE_LOGIN: ${{secrets.SURGE_LOGIN}} 15 | SURGE_TOKEN: ${{secrets.SURGE_TOKEN}} 16 | steps: 17 | - name: Dump GitHub context 18 | id: github_context_step 19 | run: echo '${{ toJSON(github) }}' 20 | - uses: actions/checkout@v2 21 | # cache node_modules 22 | - name: Cache node_modules 23 | uses: actions/cache@v1 24 | with: 25 | path: ~/.npm 26 | key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} 27 | # check the actions/cache for different languages 28 | restore-keys: | 29 | ${{ runner.os }}-node- 30 | # if github don't find a cache with the key, it will go to find any old cache with ${{ runner.os }}-node- structure and then it will use it and cached it one more time. 31 | #use Nodejs and run it 32 | - name: Use NodeJs 33 | uses: actions/setup-node@v1 34 | with: 35 | node-version: " 16.x" 36 | - run: npm ci 37 | - run: npm run format 38 | - run: npm test -- --coverage 39 | env: 40 | CI: true 41 | #upload test coverage artifact 42 | - name: upload test artifact 43 | uses: actions/upload-artifact@v1 44 | with: 45 | name: code coverage 46 | path: coverage 47 | #Build project 48 | - name: Build project 49 | if: github.event_name == 'push' 50 | run: npm run build 51 | #upload project Folder 52 | - name: upload build Folder 53 | if: github.event_name == 'push' 54 | uses: actions/upload-artifact@v1 55 | with: 56 | name: build Folder 57 | path: build 58 | ######################################################################## 59 | # Before go to production 60 | ######################################################################## 61 | - name: Zip assets 62 | if: github.event_name == 'push' && github.ref == 'refs/heads/master' 63 | run: | 64 | zip -r build.zip ./build 65 | zip -r coverage.zip ./coverage 66 | 67 | - name: Semantic Release 68 | if: github.event_name == 'push' && github.ref == 'refs/heads/master' 69 | run: npx semantic-release 70 | env: 71 | GITHUB_TOKEN: ${{secrets.CUSTOM_TOKEN}} 72 | 73 | ######################################################################## 74 | # Deploy to Staging 75 | ######################################################################## 76 | 77 | #Deploy project Folder 78 | - name: Deploy to Staging 79 | if: github.event_name == 'push' && github.ref == 'refs/heads/develop' 80 | run: npx surge --project ./build --domain $STAGING_SURGE_DOMAIN 81 | 82 | ######################################################################## 83 | # Deploy to production 84 | ######################################################################## 85 | 86 | #Deploy project Folder 87 | - name: Deploy to production 88 | if: github.event_name == 'push' && github.ref == 'refs/heads/master' 89 | run: npx surge --project ./build --domain $PROD_SURGE_DOMAIN 90 | 91 | ######################################################################## 92 | # after deployment 93 | ######################################################################## 94 | - uses: codecov/codecov-action@v2 95 | with: 96 | token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos 97 | 98 | ######################################################################## 99 | # Open issue 100 | ######################################################################## 101 | 102 | - name: Open Issue 103 | if: failure() && github.event_name == 'push' 104 | run: | 105 | echo ${{ github.actor }} 106 | curl --request POST \ 107 | --url https://api.github.com/repos/${{ github.repository }}/issues \ 108 | --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \ 109 | --header 'content-type: application/json' \ 110 | --data '{ 111 | "title": "Automated issue for commit: ${{ github.sha }}", 112 | "body": "This issue was automatically created by the GitHub Action workflow **${{ github.workflow }}**. \n\n The commit hash was: _${{ github.sha }}_." , 113 | "assignees":["${{ github.actor }}"] 114 | }' \ 115 | --fail 116 | 117 | -------------------------------------------------------------------------------- /event.js: -------------------------------------------------------------------------------- 1 | // { 2 | // { 3 | // "token": "***", 4 | // "job": "build", 5 | // "ref": "refs/heads/master", 6 | // "sha": "c4d3b0e1f065ec620078542768d044920ee72582", 7 | // "repository": "babakDoraniArab/react-app-github-actions", 8 | // "repository_owner": "babakDoraniArab", 9 | // "repository_owner_id": "40353024", 10 | // "repositoryUrl": "git://github.com/babakDoraniArab/react-app-github-actions.git", 11 | // "run_id": "2243957116", 12 | // "run_number": "57", 13 | // "retention_days": "90", 14 | // "run_attempt": "1", 15 | // "artifact_cache_size_limit": "10", 16 | // "repository_id": "485709324", 17 | // "actor_id": "40353024", 18 | // "actor": "babakDoraniArab", 19 | // "workflow": "CI", 20 | // "head_ref": "", 21 | // "base_ref": "", 22 | // "event_name": "push", 23 | // "event": { 24 | // "after": "c4d3b0e1f065ec620078542768d044920ee72582", 25 | // "base_ref": null, 26 | // "before": "3cb25c61266759c5c079b34ec0796775efa1c545", 27 | // "commits": [ 28 | // { 29 | // "author": { 30 | // "email": "babak.dorani@gmail.com", 31 | // "name": "Babak Doraniarab", 32 | // "username": "babakDoraniArab" 33 | // }, 34 | // "committer": { 35 | // "email": "babak.dorani@gmail.com", 36 | // "name": "Babak Doraniarab", 37 | // "username": "babakDoraniArab" 38 | // }, 39 | // "distinct": true, 40 | // "id": "c4d3b0e1f065ec620078542768d044920ee72582", 41 | // "message": "fix(test): get the github context", 42 | // "timestamp": "2022-04-29T10:24:11+03:00", 43 | // "tree_id": "86a333f7554e48972083dc36b9ca4d2d632063ea", 44 | // "url": "https://github.com/babakDoraniArab/react-app-github-actions/commit/c4d3b0e1f065ec620078542768d044920ee72582" 45 | // } 46 | // ], 47 | // "compare": "https://github.com/babakDoraniArab/react-app-github-actions/compare/3cb25c612667...c4d3b0e1f065", 48 | // "created": false, 49 | // "deleted": false, 50 | // "forced": false, 51 | // "head_commit": { 52 | // "author": { 53 | // "email": "babak.dorani@gmail.com", 54 | // "name": "Babak Doraniarab", 55 | // "username": "babakDoraniArab" 56 | // }, 57 | // "committer": { 58 | // "email": "babak.dorani@gmail.com", 59 | // "name": "Babak Doraniarab", 60 | // "username": "babakDoraniArab" 61 | // }, 62 | // "distinct": true, 63 | // "id": "c4d3b0e1f065ec620078542768d044920ee72582", 64 | // "message": "fix(test): get the github context", 65 | // "timestamp": "2022-04-29T10:24:11+03:00", 66 | // "tree_id": "86a333f7554e48972083dc36b9ca4d2d632063ea", 67 | // "url": "https://github.com/babakDoraniArab/react-app-github-actions/commit/c4d3b0e1f065ec620078542768d044920ee72582" 68 | // }, 69 | // "pusher": { 70 | // "email": "babak.dorani@gmail.com", 71 | // "name": "babakDoraniArab" 72 | // }, 73 | // "ref": "refs/heads/master", 74 | // "repository": { 75 | // "allow_forking": true, 76 | // "archive_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/{archive_format}{/ref}", 77 | // "archived": false, 78 | // "assignees_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/assignees{/user}", 79 | // "blobs_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/git/blobs{/sha}", 80 | // "branches_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/branches{/branch}", 81 | // "clone_url": "https://github.com/babakDoraniArab/react-app-github-actions.git", 82 | // "collaborators_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/collaborators{/collaborator}", 83 | // "comments_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/comments{/number}", 84 | // "commits_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/commits{/sha}", 85 | // "compare_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/compare/{base}...{head}", 86 | // "contents_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/contents/{+path}", 87 | // "contributors_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/contributors", 88 | // "created_at": 1650963662, 89 | // "default_branch": "master", 90 | // "deployments_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/deployments", 91 | // "description": null, 92 | // "disabled": false, 93 | // "downloads_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/downloads", 94 | // "events_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/events", 95 | // "fork": false, 96 | // "forks": 0, 97 | // "forks_count": 0, 98 | // "forks_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/forks", 99 | // "full_name": "babakDoraniArab/react-app-github-actions", 100 | // "git_commits_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/git/commits{/sha}", 101 | // "git_refs_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/git/refs{/sha}", 102 | // "git_tags_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/git/tags{/sha}", 103 | // "git_url": "git://github.com/babakDoraniArab/react-app-github-actions.git", 104 | // "has_downloads": true, 105 | // "has_issues": true, 106 | // "has_pages": false, 107 | // "has_projects": true, 108 | // "has_wiki": true, 109 | // "homepage": null, 110 | // "hooks_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/hooks", 111 | // "html_url": "https://github.com/babakDoraniArab/react-app-github-actions", 112 | // "id": 485709324, 113 | // "is_template": false, 114 | // "issue_comment_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/issues/comments{/number}", 115 | // "issue_events_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/issues/events{/number}", 116 | // "issues_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/issues{/number}", 117 | // "keys_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/keys{/key_id}", 118 | // "labels_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/labels{/name}", 119 | // "language": "JavaScript", 120 | // "languages_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/languages", 121 | // "license": null, 122 | // "master_branch": "master", 123 | // "merges_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/merges", 124 | // "milestones_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/milestones{/number}", 125 | // "mirror_url": null, 126 | // "name": "react-app-github-actions", 127 | // "node_id": "R_kgDOHPNWDA", 128 | // "notifications_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/notifications{?since,all,participating}", 129 | // "open_issues": 4, 130 | // "open_issues_count": 4, 131 | // "owner": { 132 | // "avatar_url": "https://avatars.githubusercontent.com/u/40353024?v=4", 133 | // "email": "babak.dorani@gmail.com", 134 | // "events_url": "https://api.github.com/users/babakDoraniArab/events{/privacy}", 135 | // "followers_url": "https://api.github.com/users/babakDoraniArab/followers", 136 | // "following_url": "https://api.github.com/users/babakDoraniArab/following{/other_user}", 137 | // "gists_url": "https://api.github.com/users/babakDoraniArab/gists{/gist_id}", 138 | // "gravatar_id": "", 139 | // "html_url": "https://github.com/babakDoraniArab", 140 | // "id": 40353024, 141 | // "login": "babakDoraniArab", 142 | // "name": "babakDoraniArab", 143 | // "node_id": "MDQ6VXNlcjQwMzUzMDI0", 144 | // "organizations_url": "https://api.github.com/users/babakDoraniArab/orgs", 145 | // "received_events_url": "https://api.github.com/users/babakDoraniArab/received_events", 146 | // "repos_url": "https://api.github.com/users/babakDoraniArab/repos", 147 | // "site_admin": false, 148 | // "starred_url": "https://api.github.com/users/babakDoraniArab/starred{/owner}{/repo}", 149 | // "subscriptions_url": "https://api.github.com/users/babakDoraniArab/subscriptions", 150 | // "type": "User", 151 | // "url": "https://api.github.com/users/babakDoraniArab" 152 | // }, 153 | // "private": false, 154 | // "pulls_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/pulls{/number}", 155 | // "pushed_at": 1651217057, 156 | // "releases_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/releases{/id}", 157 | // "size": 431, 158 | // "ssh_url": "git@github.com:babakDoraniArab/react-app-github-actions.git", 159 | // "stargazers": 0, 160 | // "stargazers_count": 0, 161 | // "stargazers_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/stargazers", 162 | // "statuses_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/statuses/{sha}", 163 | // "subscribers_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/subscribers", 164 | // "subscription_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/subscription", 165 | // "svn_url": "https://github.com/babakDoraniArab/react-app-github-actions", 166 | // "tags_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/tags", 167 | // "teams_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/teams", 168 | // "topics": [], 169 | // "trees_url": "https://api.github.com/repos/babakDoraniArab/react-app-github-actions/git/trees{/sha}", 170 | // "updated_at": "2022-04-26T09:01:45Z", 171 | // "url": "https://github.com/babakDoraniArab/react-app-github-actions", 172 | // "visibility": "public", 173 | // "watchers": 0, 174 | // "watchers_count": 0 175 | // }, 176 | // "sender": { 177 | // "avatar_url": "https://avatars.githubusercontent.com/u/40353024?v=4", 178 | // "events_url": "https://api.github.com/users/babakDoraniArab/events{/privacy}", 179 | // "followers_url": "https://api.github.com/users/babakDoraniArab/followers", 180 | // "following_url": "https://api.github.com/users/babakDoraniArab/following{/other_user}", 181 | // "gists_url": "https://api.github.com/users/babakDoraniArab/gists{/gist_id}", 182 | // "gravatar_id": "", 183 | // "html_url": "https://github.com/babakDoraniArab", 184 | // "id": 40353024, 185 | // "login": "babakDoraniArab", 186 | // "node_id": "MDQ6VXNlcjQwMzUzMDI0", 187 | // "organizations_url": "https://api.github.com/users/babakDoraniArab/orgs", 188 | // "received_events_url": "https://api.github.com/users/babakDoraniArab/received_events", 189 | // "repos_url": "https://api.github.com/users/babakDoraniArab/repos", 190 | // "site_admin": false, 191 | // "starred_url": "https://api.github.com/users/babakDoraniArab/starred{/owner}{/repo}", 192 | // "subscriptions_url": "https://api.github.com/users/babakDoraniArab/subscriptions", 193 | // "type": "User", 194 | // "url": "https://api.github.com/users/babakDoraniArab" 195 | // } 196 | // }, 197 | // "server_url": "https://github.com", 198 | // "api_url": "https://api.github.com", 199 | // "graphql_url": "https://api.github.com/graphql", 200 | // "ref_name": "master", 201 | // "ref_protected": false, 202 | // "ref_type": "branch", 203 | // "secret_source": "Actions", 204 | // "workspace": "/home/runner/work/react-app-github-actions/react-app-github-actions", 205 | // "action": "github_context_step", 206 | // "event_path": "/home/runner/work/_temp/_github_workflow/event.json", 207 | // "action_repository": "", 208 | // "action_ref": "", 209 | // "path": "/home/runner/work/_temp/_runner_file_commands/add_path_044d76a3-3134-4720-b258-3d39480a43ec", 210 | // "env": "/home/runner/work/_temp/_runner_file_commands/set_env_044d76a3-3134-4720-b258-3d39480a43ec", 211 | // "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_044d76a3-3134-4720-b258-3d39480a43ec" 212 | // } 213 | // } --------------------------------------------------------------------------------