Skip to content

Commit 95ce074

Browse files
deactivating all workflows
1 parent 616a308 commit 95ce074

File tree

7 files changed

+256
-242
lines changed

7 files changed

+256
-242
lines changed
Lines changed: 36 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,36 @@
1-
# This will trigger when master branch gets updated, it will make a PR to develop
2-
name: Auto-pr-master-develop
3-
4-
# Controls when the workflow will run
5-
on:
6-
# Triggers the workflow on push or pull request events but only for the develop branch
7-
pull_request:
8-
branches: [master]
9-
types: [closed]
10-
11-
# Allows you to run this workflow manually from the Actions tab
12-
workflow_dispatch:
13-
14-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15-
jobs:
16-
# This workflow contains a single job called "build"
17-
merge-master-to-dev:
18-
# The type of runner that the job will run on
19-
runs-on: ubuntu-latest
20-
21-
# If master pull request is merged
22-
if: github.event.pull_request.merged == true
23-
24-
# Steps represent a sequence of tasks that will be executed as part of the job
25-
steps:
26-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
27-
- uses: actions/checkout@v4
28-
with:
29-
ref: develop
30-
31-
- name: Set Git config
32-
run: |
33-
git config --local user.email "[email protected]"
34-
git config --local user.name "Github Actions"
35-
36-
- name: Reset master branch
37-
run: |
38-
git fetch origin master:master
39-
git reset --hard master
40-
41-
- name: Read and set version
42-
id: versioning
43-
run: |
44-
PACKAGE_VERSION=$(node -p "require('./package.json').version")
45-
echo ::set-output name=tag::${PACKAGE_VERSION}
46-
47-
- name: Create Pull Request
48-
uses: peter-evans/[email protected]
49-
with:
50-
branch: merge-master-to-dev-${{ steps.versioning.outputs.tag }}
51-
title: update develop from master-${{ steps.versioning.outputs.tag }}
52-
commit-message: auto PR master to develop
1+
# # Make a PR to merge back main branch into develop branch
2+
# name: Auto-pr-main-into-develop
3+
4+
# on:
5+
# push:
6+
# branches:
7+
# - main
8+
# workflow_dispatch:
9+
10+
# jobs:
11+
12+
# pr-main-into-develop:
13+
14+
# runs-on: ubuntu-latest
15+
# permissions:
16+
# contents: write
17+
# pull-requests: write
18+
19+
# steps:
20+
21+
# - name: Checkout main
22+
# uses: actions/checkout@v4
23+
24+
# - name: Set Git config
25+
# run: |
26+
# git config --local user.email "[email protected]"
27+
# git config --local user.name "Github Actions"
28+
29+
# - name: Create Pull Request
30+
# uses: peter-evans/create-pull-request@7
31+
# with:
32+
# branch: main
33+
# base: develp
34+
# title: Merge main back to develop
35+
# commit-message: Merge main back to develop
36+
Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,35 @@
1-
name: publish gh-pages docs
2-
on:
3-
push:
4-
branches:
5-
- master
6-
jobs:
1+
# name: publish gh-pages docs
72

8-
build:
9-
name: Build
10-
runs-on: ubuntu-latest
11-
strategy:
12-
matrix:
13-
python-version: [3.9]
14-
steps:
15-
- name: checkout
16-
uses: actions/checkout@v3
17-
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v3
19-
with:
20-
python-version: ${{ matrix.python-version }}
21-
- name: install and build
22-
run: |
23-
python -m pip install --upgrade pip setuptools
24-
pip install .[docs]
25-
pip install markdown_refdocs mkdocs mkdocs-material
26-
markdown_refdocs pori_python -o docs/reference --link
27-
mkdocs build
28-
- name: Deploy
29-
uses: peaceiris/actions-gh-pages@v3
30-
with:
31-
github_token: ${{ secrets.GITHUB_TOKEN }}
32-
publish_dir: ./build-docs
3+
# on:
4+
# push:
5+
# branches:
6+
# - main
7+
# workflow_dispatch:
8+
9+
# jobs:
10+
11+
# build:
12+
# name: Build
13+
# runs-on: ubuntu-latest
14+
# strategy:
15+
# matrix:
16+
# python-version: [3.9]
17+
# steps:
18+
# - name: checkout
19+
# uses: actions/checkout@v3
20+
# - name: Set up Python ${{ matrix.python-version }}
21+
# uses: actions/setup-python@v3
22+
# with:
23+
# python-version: ${{ matrix.python-version }}
24+
# - name: install and build
25+
# run: |
26+
# python -m pip install --upgrade pip setuptools
27+
# pip install .[docs]
28+
# pip install markdown_refdocs mkdocs mkdocs-material
29+
# markdown_refdocs pori_python -o docs/reference --link
30+
# mkdocs build
31+
# - name: Deploy
32+
# uses: peaceiris/actions-gh-pages@v3
33+
# with:
34+
# github_token: ${{ secrets.GITHUB_TOKEN }}
35+
# publish_dir: ./build-docs

.github/workflows/pypipublish.yml

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,32 @@
1-
# This workflows will upload a Python Package using Twine when a release is created
2-
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
1+
# # This workflows will upload a Python Package using Twine when a release is created
2+
# # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
33

4-
name: upload to pypi
4+
# name: upload to pypi
55

6-
on:
7-
release:
8-
types: [published]
6+
# on:
7+
# release:
8+
# types: [published]
9+
# workflow_dispatch:
910

10-
jobs:
11-
deploy:
11+
# jobs:
12+
# deploy:
1213

13-
runs-on: ubuntu-latest
14+
# runs-on: ubuntu-latest
1415

15-
steps:
16-
- uses: actions/checkout@v3
17-
- name: Set up Python
18-
uses: actions/setup-python@v3
19-
with:
20-
python-version: '3.x'
21-
- name: Install dependencies
22-
run: |
23-
python -m pip install --upgrade pip
24-
pip install setuptools wheel twine
25-
- name: Build and publish
26-
env:
27-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
28-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
29-
run: |
30-
python setup.py sdist bdist_wheel install
31-
twine upload dist/*
16+
# steps:
17+
# - uses: actions/checkout@v3
18+
# - name: Set up Python
19+
# uses: actions/setup-python@v3
20+
# with:
21+
# python-version: '3.x'
22+
# - name: Install dependencies
23+
# run: |
24+
# python -m pip install --upgrade pip
25+
# pip install setuptools wheel twine
26+
# - name: Build and publish
27+
# env:
28+
# TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
29+
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
30+
# run: |
31+
# python setup.py sdist bdist_wheel install
32+
# twine upload dist/*
Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
# This workflows will upload a Python Package using Twine when a release is created
2-
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
1+
# # This workflows will upload a Python Package using Twine when a release is created
2+
# # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
33

4-
name: upload to testpypi
4+
# name: upload to testpypi
55

6-
on: workflow_dispatch
6+
# on: workflow_dispatch
77

8-
jobs:
9-
deploy:
8+
# jobs:
9+
# deploy:
1010

11-
runs-on: ubuntu-latest
11+
# runs-on: ubuntu-latest
1212

13-
steps:
14-
- uses: actions/checkout@v3
15-
- name: Set up Python
16-
uses: actions/setup-python@v3
17-
with:
18-
python-version: '3.x'
19-
- name: Install dependencies
20-
run: |
21-
python -m pip install --upgrade pip
22-
pip install setuptools wheel twine
23-
- name: Build and publish
24-
env:
25-
TWINE_USERNAME: ${{ secrets.PYPI_TEST_USERNAME }}
26-
TWINE_PASSWORD: ${{ secrets.PYPI_TEST_PASSWORD }}
27-
run: |
28-
python setup.py sdist bdist_wheel install
29-
twine upload --repository testpypi dist/*
13+
# steps:
14+
# - uses: actions/checkout@v3
15+
# - name: Set up Python
16+
# uses: actions/setup-python@v3
17+
# with:
18+
# python-version: '3.x'
19+
# - name: Install dependencies
20+
# run: |
21+
# python -m pip install --upgrade pip
22+
# pip install setuptools wheel twine
23+
# - name: Build and publish
24+
# env:
25+
# TWINE_USERNAME: ${{ secrets.PYPI_TEST_USERNAME }}
26+
# TWINE_PASSWORD: ${{ secrets.PYPI_TEST_PASSWORD }}
27+
# run: |
28+
# python setup.py sdist bdist_wheel install
29+
# twine upload --repository testpypi dist/*

0 commit comments

Comments
 (0)