Commit graph

116 commits

Author SHA1 Message Date
rugk
1fff4bf4d7
Also set author for merge commit
Follow-up of 41898282+github-actions[bot]@users.noreply.github.com again

In contrast to your suggestion, @elrido, I did use GitHubs bot account again. The mails won't spam anyone, and it's actually intended for such stuff.
Also, we get a proper avatar on GitHub's commit messages etc., and of course we know it is actually GitHubs (servers) that do this change.
2021-10-30 16:53:42 +02:00
rugk
aa6e2f7631
Set GitHub Bot as author for PHP8 merge commits 2021-10-23 15:04:54 +02:00
rugk
af852927a9
Fix PHP refresh pipeline merge
See https://github.com/PrivateBin/PrivateBin/pull/847#issuecomment-942580850

Now merging the origin as master is not yet pulled.
2021-10-13 20:07:45 +02:00
rugk
f6421c9c7c
Fix PHP8 pipeline
As per https://github.com/PrivateBin/PrivateBin/pull/843#issuecomment-939526915

Co-Authored-By: El RIDO <elrido@gmx.net>
2021-10-11 17:45:42 +02:00
El RIDO
3f469f715f
Merge branch 'master' into php8 2021-10-07 22:17:11 +02:00
rugk
c7cd450f9b
Remove useless boilerplate comments 2021-10-06 20:19:03 +02:00
rugk
a988be7431
Add CI for automatic PHP8 updates
Adds a simple CI for pushing the master branches changes to the php8 branch.

Useful/discussed for https://github.com/PrivateBin/PrivateBin/issues/707
2021-10-06 20:13:09 +02:00
El RIDO
51a590c3c7
Merge pull request #841 from PrivateBin/ci-problem-matchers
Setup CI problem matchers for PHP
2021-10-02 20:15:22 +02:00
rugk
f4e68fcc04
style: better YAML comments 2021-10-02 01:12:08 +02:00
rugk
f43a41c117
Update tests.yml 2021-10-02 01:07:57 +02:00
rugk
ab11fbeb47
Fix syntax error
Apparently in envs the OS etc. syntax is not supported, so we need to use it like this.
2021-10-02 01:01:24 +02:00
rugk
5f4fe52eab
Use package-json instead of package-lock.json
for cache
2021-10-02 00:56:44 +02:00
rugk
b80732f8e2
Add caching for NodeJS 2021-10-02 00:55:08 +02:00
rugk
a372ee92e9
Fix wrong cache key 2021-10-02 00:43:54 +02:00
rugk
e2ae0da4e1
Style cleanup adding newlines
Seems to be the unofficial GitHub Actions YAML style and arguably makes things a lot more readable if you have a lot of steps…
2021-10-02 00:41:54 +02:00
rugk
3f7bceb862
Also cache PHP extensions
See https://github.com/shivammathur/cache-extensions#workflow
2021-10-02 00:38:21 +02:00
rugk
507a10adc5
Use composer.json instead of composer.lock
In a cache
2021-10-02 00:32:57 +02:00
rugk
a8f7840d25
Only restore cache from current date then 2021-10-02 00:29:48 +02:00
rugk
3ba6483bf3
Try caching composer stuff
Especially the GCM stuff may be quite large, so caching may be a good idea.

I tried following https://github.com/shivammathur/setup-php#cache-composer-dependencies
2021-10-02 00:27:57 +02:00
El RIDO
197c4a34e8
fix snyk 2021-06-05 08:25:19 +02:00
El RIDO
7a3a306ddc
fix snyk 2021-06-05 08:22:50 +02:00
El RIDO
cbdcaf4c30
fix snyk 2021-06-05 08:14:04 +02:00
El RIDO
371dca1986
ensure the GCS library and dependencies get included in the scan 2021-06-05 08:10:12 +02:00
rugk
79c0ad1670
Add Siftleft scan
It seems [to cover](https://slscan.io/en/latest/#supported-languages-frameworks) PHP including license check in addition to dependency scanning.
2021-06-05 00:21:48 +02:00
rugk
8bc97517fb
Add Snyk security scan for PHP
After I found https://github.com/PrivateBin/docker-nginx-fpm-alpine/pull/44 I saw they also support PHP, so let's do it here (one level before container packaging), too.
Also it complements the CodeQL analysis, which only covers the JS part.

I added the API token to the PrivateBIn org now.
2021-06-04 23:43:01 +02:00
El RIDO
93138cbbae
we already test this via the regular unit tests 2021-05-30 09:26:13 +02:00
El RIDO
fc5e380ccc
fix composer test on PHP 8 2021-05-30 09:18:56 +02:00
El RIDO
33587d54e4
fix composer test on PHP 8 2021-05-30 09:17:23 +02:00
El RIDO
b939b64778
Merge branch 'issue-794/add-gcs-support' of https://github.com/binxio/PrivateBin into binxio-issue-794/add-gcs-support 2021-05-30 07:57:58 +02:00
Mark van Holsteijn
342270d6dd added Google Cloud Storage support 2021-05-28 22:39:50 +02:00
rugk
156155663d
Create codeql-analysis.yml
Only supports JS for now.

I've removed the build step, because welł… our JS is already "built".
2021-01-26 16:37:53 +01:00
El RIDO
73e44e1aa8
workaround 2021-01-05 19:19:05 +01:00
El RIDO
2d6d0252cf
github switched to ubuntu 20.04 and it seems to default on php 8, which our current composer setup doesn't support 2021-01-05 19:16:22 +01:00
El RIDO
ec190fdcf6
phpunit 9 requires php >= 7.3 2020-10-11 10:34:03 +02:00
El RIDO
4312f77385
experimentally enable PHP 8 beta unit testing 2020-10-10 11:21:53 +02:00
El RIDO
fbefe47806
avoid the buggy windows environment 2020-05-31 15:53:57 +02:00
El RIDO
bd7ecb9c55
develop doesn't install curl extension by default 2020-05-31 15:43:59 +02:00
El RIDO
2a04ee385d
develop doesn't install DOM extension by default 2020-05-31 15:41:30 +02:00
El RIDO
3268464ada
might only be fixed in development branch 2020-05-31 15:36:13 +02:00
El RIDO
09a2c5c3b9
attempting to fix windows unit tests 2020-05-31 15:30:30 +02:00
El RIDO
51a867bc20
removing outdated configurations and fix path of phpunit 2020-05-31 15:24:10 +02:00
El RIDO
a1bac9b6e1
remove composer lock, to avoid installing incompatible dependencies 2020-05-31 15:10:30 +02:00
El RIDO
120ba0b8ca
avoid packaged phpunit version that is incompatible with older PHP releases 2020-05-31 14:45:25 +02:00
El RIDO
bd26972a73
actually run tests and set proper working directories 2020-05-31 14:42:11 +02:00
El RIDO
7cef87e856
migrating TravisCI tests to GitHub actions 2020-05-31 14:36:09 +02:00
rugk
271c954f9a
Test PHP Composer runner of GitHub
GitHub has these new CI/CD features, so let's test whether this makes sense.

I guess this PHP thing just installs the project via composer… 🤔
2020-01-26 23:25:24 +01:00
rugk
674ebbc6fb
Remove bullet point
It is just useless here.
2017-07-06 19:14:49 +02:00
rugk
0091607618
📝 Simplify isue & PR template
I saw GitHub's new TOS already address the contribution/licensing issue, so
that the checkbox is not necessary.
See https://help.github.com/articles/github-terms-of-service-draft/#5-license-grant-to-other-users
2017-02-08 09:29:31 +01:00
rugk
8619210c33
Add note for reproduction on official site
This should make sure, users try to reproduce the issue on the official domain.
2016-10-21 22:14:44 +02:00
rugk
f5813c959c
Fix typo 2016-10-12 18:59:18 +02:00
rugk
8cb1a0a14d
Improve issue template 2016-09-03 18:23:03 +02:00
rugk
2cde59821a Add FAQ note to issue template 2016-08-24 17:35:29 +02:00
rugk
7dbca9fca6 Update ISSUE_TEMPLATE.md 2016-08-10 21:31:03 +02:00
rugk
e7c2af2dc9 Add spaces for faster writing 2016-08-10 21:30:06 +02:00
rugk
15974b368f Add instructions for how to get commit hash 2016-08-10 21:29:25 +02:00
rugk
5052768911 Add webserver 2016-08-10 21:11:15 +02:00
rugk
83c12c7f04 Add auto-close info to PR template
Explain https://help.github.com/articles/closing-issues-via-commit-messages/
2016-08-10 20:38:49 +02:00
rugk
cc65b3b700 Add explicit license statement to PR template
See https://opensource.stackexchange.com/questions/4267/how-does-contributing-to-a-floss-project-work-from-a-legal-perspective/4268
2016-08-08 19:07:07 +02:00
rugk
6e7365e949 Update PULL_REQUEST_TEMPLATE.md
I should really end the sentences I am writing... 😉
2016-07-21 21:57:11 +02:00
rugk
f51bfb7265 Update PULL_REQUEST_TEMPLATE.md 2016-07-21 21:56:42 +02:00
rugk
b05404ab38 Update CONTRIBUTING.md 2016-07-19 17:58:39 +02:00
rugk
ae8e975247 Update CONTRIBUTING.md 2016-07-19 17:58:30 +02:00
rugk
5a023ba881 Create CONTRIBUTING.md 2016-07-19 17:50:50 +02:00
rugk
5fed9b4189 Update ISSUE_TEMPLATE.md 2016-07-19 17:48:06 +02:00
rugk
911b2a482b Update PULL_REQUEST_TEMPLATE.md 2016-07-19 17:47:55 +02:00
rugk
da313f2c38 Add issue and PR templates 2016-07-19 17:42:40 +02:00