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

Test #7

Closed
wants to merge 33 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
bacfbac
Test
ZPascal Apr 18, 2022
bff3b65
Update the Github action
ZPascal Apr 18, 2022
6d1e2fb
Test
ZPascal Apr 18, 2022
7a5dbac
Merge branch 'test-checks' of https://github.com/ZPascal/grafana_dash…
ZPascal Apr 18, 2022
01218d0
Test it
ZPascal Apr 18, 2022
ce57ae9
Test
ZPascal Apr 18, 2022
38df357
Test
ZPascal Apr 18, 2022
d9af741
Test
ZPascal Apr 18, 2022
2bfbdab
Test
ZPascal Apr 18, 2022
1ba8913
Update .github/workflows/pull-request-checks-test.yml
ZPascal Apr 26, 2022
47ae6eb
Update pull-request-checks-test.yml
ZPascal Apr 26, 2022
56da868
Update pull-request-checks-test.yml
ZPascal Apr 26, 2022
db96a3b
Merge 56da8684dcaaa9b0c14234b308d7aa5808ca97d5 into bff3b659500a31413…
Apr 26, 2022
b1ce7fb
Add test file
github-actions[bot] Apr 26, 2022
17e2ab8
Merge b1ce7fb26d4e8bac62b86091ae7f5cb5a2ca115f into bff3b659500a31413…
Apr 26, 2022
c1df856
Merge 17e2ab8fc784d8871be6ef4a316a8cea15ea46f2 into bff3b659500a31413…
Apr 26, 2022
20f2fba
Merge c1df856c598fdd2ee967b34e9a2e3772a3658e01 into bff3b659500a31413…
Apr 26, 2022
418b521
Merge 20f2fbaebe4c0b7168c23ecabeca428a788d6b96 into bff3b659500a31413…
Apr 26, 2022
b4702b5
Merge 418b5216ba0b4c4275f40ec13ec49b11467ce7db into bff3b659500a31413…
Apr 26, 2022
d9818d6
Merge b4702b56e31c2d156811700455b72211bc95d5ed into bff3b659500a31413…
Apr 26, 2022
79d90d2
Merge d9818d6f0a6515813a189e85b198056e00f1a972 into bff3b659500a31413…
Apr 26, 2022
257e1d3
Merge 79d90d2d6d32337327446812b535fd547e2b03ba into bff3b659500a31413…
Apr 26, 2022
367d075
Merge 257e1d3b99f972bd22eb41f2c20ee1bceaed4607 into bff3b659500a31413…
Apr 26, 2022
899d020
Merge 367d075a962bc86532c19e58e1366e855ae696c6 into bff3b659500a31413…
Apr 26, 2022
23464a2
Merge 899d020bb5c02b9b805caf0cb6d02a65f0b7630e into bff3b659500a31413…
Apr 26, 2022
9cc166a
Merge 23464a2ff2ffb7b5b413b5453dbc498c4bc2718d into bff3b659500a31413…
Apr 26, 2022
e9fbd22
Merge 9cc166ab1140f9a8b0d34e37e2a1ff18ce3dd4bf into bff3b659500a31413…
Apr 26, 2022
8b19854
Merge e9fbd22ddf9b532734dc7ba505ed78701d40a1b1 into bff3b659500a31413…
Apr 26, 2022
e531ae6
Merge 8b198549c363c8b0a2bab2a91459c8f6868be7e0 into bff3b659500a31413…
Apr 26, 2022
5d4f85e
Merge e531ae6a4f3a648a8fa8013698f9a489d9ef72f0 into bff3b659500a31413…
Apr 26, 2022
df4f6ee
Merge 5d4f85e25f4f16ae3ab4b3193c8e8c7ccd692858 into bff3b659500a31413…
Apr 26, 2022
f313f15
Merge df4f6ee1b261bee831137553d601ff3d03b2df78 into bff3b659500a31413…
Apr 26, 2022
bf0bf77
Merge f313f150d4750d36fc97d80f4635d1296082611f into bff3b659500a31413…
Apr 26, 2022
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
45 changes: 45 additions & 0 deletions .github/workflows/pull-request-checks-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: PR checks Test

on:
pull_request:
branches: [ main ]

jobs:

dummy:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.x' ]

steps:
- uses: actions/checkout@v3
with:
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: "Check if coverage badge file existence"
id: check_files
uses: andstor/file-existence-action@v1
with:
files: "docs/test.txt"

- name: Generate file
run: touch docs/test.txt

- name: Commit files
if: steps.check_files.outputs.files_exists == 'false'
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add --force docs
git commit -m "Add test file"
- name: Push
run: ls -la docs && git status && cat .git/config

- name: Push changes
uses: ad-m/github-push-action@4200574c0f7956ff32ffe9fe6de92faa3cbc9174
with:
branch: ${{ github.head_ref }}
ssh: true
force: true
4 changes: 2 additions & 2 deletions .github/workflows/pull-request-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
run: coverage-badge -o docs/coverage.svg -f

- name: Generate documentation
run: pydoc-markdown --render-toc && mv build/docs/* docs
run: pydoc-markdown --render-toc && rm -rf docs/content && mv build/docs/* docs

- name: Commit files
if: steps.check_files.outputs.files_exists == 'false'
Expand All @@ -114,4 +114,4 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.head_ref }}
force: true
force: true
Empty file added docs/test.txt
Empty file.