* [gentoo-commits] proj/elogv:pre-commit-github-actions commit in: .github/workflows/
@ 2023-10-06 13:03 Sebastian Pipping
0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Pipping @ 2023-10-06 13:03 UTC (permalink / raw
To: gentoo-commits
commit: 4df7cf9f3c326e0b97bbd0e24d45941a61f80ed0
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 6 12:42:51 2023 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Fri Oct 6 13:03:20 2023 +0000
URL: https://gitweb.gentoo.org/proj/elogv.git/commit/?id=4df7cf9f
pre-commit: Integrate with Github Actions
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
.github/workflows/pre-commit-run.yml | 54 ++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/.github/workflows/pre-commit-run.yml b/.github/workflows/pre-commit-run.yml
new file mode 100644
index 0000000..03f285b
--- /dev/null
+++ b/.github/workflows/pre-commit-run.yml
@@ -0,0 +1,54 @@
+# This file is part of elogv
+#
+# Authors (in chronological order):
+# - Sebastian Pipping (sping) <sebastian@pipping.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+name: Run pre-commit on all files
+
+on:
+- pull_request
+- push
+- workflow_dispatch
+
+jobs:
+ run_pre_commit:
+ name: Run pre-commit on all files
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
+
+ - name: Set up Python 3.12
+ uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
+ with:
+ python-version: 3.12
+
+ - name: Install pre-commit
+ run: |-
+ pip install \
+ --disable-pip-version-check \
+ --user \
+ --no-warn-script-location \
+ pre-commit
+ echo "PATH=${HOME}/.local/bin:${PATH}" >> "${GITHUB_ENV}"
+
+ - name: Install pre-commit hooks
+ run: |-
+ pre-commit install --install-hooks
+
+ - name: Run pre-commit on all files
+ run: |-
+ pre-commit run --all-files
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/elogv:pre-commit-github-actions commit in: .github/workflows/
@ 2023-10-06 13:05 Sebastian Pipping
0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Pipping @ 2023-10-06 13:05 UTC (permalink / raw
To: gentoo-commits
commit: 9e6c8749ac70efddaa44b322af85f4ff3c028318
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 6 12:42:51 2023 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Fri Oct 6 13:05:47 2023 +0000
URL: https://gitweb.gentoo.org/proj/elogv.git/commit/?id=9e6c8749
pre-commit: Integrate with Github Actions
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
.github/workflows/pre-commit-run.yml | 54 ++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/.github/workflows/pre-commit-run.yml b/.github/workflows/pre-commit-run.yml
new file mode 100644
index 0000000..7bb9880
--- /dev/null
+++ b/.github/workflows/pre-commit-run.yml
@@ -0,0 +1,54 @@
+# This file is part of elogv
+#
+# Authors (in chronological order):
+# - Sebastian Pipping (sping) <sebastian@pipping.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+name: Run pre-commit on all files
+
+on:
+- pull_request
+- push
+- workflow_dispatch
+
+jobs:
+ run_pre_commit:
+ name: Run pre-commit on all files
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
+
+ - name: Set up Python 3.12
+ uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
+ with:
+ python-version: 3.12
+
+ - name: Install pre-commit
+ run: |-
+ pip install \
+ --disable-pip-version-check \
+ --user \
+ --no-warn-script-location \
+ pre-commit
+ echo "PATH=${HOME}/.local/bin:${PATH}" >> "${GITHUB_ENV}"
+
+ - name: Install pre-commit hooks
+ run: |-
+ pre-commit install --install-hooks
+
+ - name: Run pre-commit on all files
+ run: |-
+ pre-commit run --all-files --show-diff-on-failure
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/elogv:pre-commit-github-actions commit in: .github/workflows/
@ 2023-10-06 13:09 Sebastian Pipping
0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Pipping @ 2023-10-06 13:09 UTC (permalink / raw
To: gentoo-commits
commit: 3551b3e60dcc795a5e3665fcc581a7697deba208
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 6 12:42:51 2023 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Fri Oct 6 13:08:39 2023 +0000
URL: https://gitweb.gentoo.org/proj/elogv.git/commit/?id=3551b3e6
pre-commit: Integrate with Github Actions
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
.github/workflows/pre-commit-run.yml | 54 ++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/.github/workflows/pre-commit-run.yml b/.github/workflows/pre-commit-run.yml
new file mode 100644
index 0000000..7bb9880
--- /dev/null
+++ b/.github/workflows/pre-commit-run.yml
@@ -0,0 +1,54 @@
+# This file is part of elogv
+#
+# Authors (in chronological order):
+# - Sebastian Pipping (sping) <sebastian@pipping.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+name: Run pre-commit on all files
+
+on:
+- pull_request
+- push
+- workflow_dispatch
+
+jobs:
+ run_pre_commit:
+ name: Run pre-commit on all files
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
+
+ - name: Set up Python 3.12
+ uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
+ with:
+ python-version: 3.12
+
+ - name: Install pre-commit
+ run: |-
+ pip install \
+ --disable-pip-version-check \
+ --user \
+ --no-warn-script-location \
+ pre-commit
+ echo "PATH=${HOME}/.local/bin:${PATH}" >> "${GITHUB_ENV}"
+
+ - name: Install pre-commit hooks
+ run: |-
+ pre-commit install --install-hooks
+
+ - name: Run pre-commit on all files
+ run: |-
+ pre-commit run --all-files --show-diff-on-failure
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/elogv:pre-commit-github-actions commit in: .github/workflows/
@ 2023-10-06 17:43 Sebastian Pipping
0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Pipping @ 2023-10-06 17:43 UTC (permalink / raw
To: gentoo-commits
commit: 834db8d8605ce96eb70ba85d580196dfce1aae3e
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 6 12:42:51 2023 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Fri Oct 6 17:43:20 2023 +0000
URL: https://gitweb.gentoo.org/proj/elogv.git/commit/?id=834db8d8
pre-commit: Integrate with Github Actions
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
.github/workflows/pre-commit-run.yml | 58 ++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
diff --git a/.github/workflows/pre-commit-run.yml b/.github/workflows/pre-commit-run.yml
new file mode 100644
index 0000000..61f4474
--- /dev/null
+++ b/.github/workflows/pre-commit-run.yml
@@ -0,0 +1,58 @@
+# This file is part of elogv
+#
+# Authors (in chronological order):
+# - Sebastian Pipping (sping) <sebastian@pipping.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+name: Run pre-commit on all files
+
+on:
+- pull_request
+- push
+- workflow_dispatch
+
+# Minimum permissions for security
+permissions:
+ contents: read
+
+jobs:
+ run_pre_commit:
+ name: Run pre-commit on all files
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
+
+ - name: Set up Python 3.12
+ uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
+ with:
+ python-version: 3.12
+
+ - name: Install pre-commit
+ run: |-
+ pip install \
+ --disable-pip-version-check \
+ --user \
+ --no-warn-script-location \
+ pre-commit
+ echo "PATH=${HOME}/.local/bin:${PATH}" >> "${GITHUB_ENV}"
+
+ - name: Install pre-commit hooks
+ run: |-
+ pre-commit install --install-hooks
+
+ - name: Run pre-commit on all files
+ run: |-
+ pre-commit run --all-files --show-diff-on-failure
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-10-06 17:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-06 13:09 [gentoo-commits] proj/elogv:pre-commit-github-actions commit in: .github/workflows/ Sebastian Pipping
-- strict thread matches above, loose matches on Subject: below --
2023-10-06 17:43 Sebastian Pipping
2023-10-06 13:05 Sebastian Pipping
2023-10-06 13:03 Sebastian Pipping
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox