Commit graph

464 commits

Author SHA1 Message Date
Álvaro Brey
8a34bf220b
Merge pull request #9926 from nextcloud/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-03-07 10:14:57 +01:00
dependabot[bot]
c8b1e0e43d
Bump actions/stale from 4.1.0 to 5
Bumps [actions/stale](https://github.com/actions/stale) from 4.1.0 to 5.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v4.1.0...v5)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 08:20:44 +00:00
dependabot[bot]
7e7a1f4f97
Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...6673cd052c4cd6fcf4b4e6e60ea986c889389535)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 08:20:41 +00:00
dependabot[bot]
5e0c59cd6d
Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 08:20:38 +00:00
Nextcloud bot
2b5d46eec6 Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-05 08:17:06 +00:00
Álvaro Brey Vilas
494cceab8e
Analysis: fix checkout and commit generation
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-26 12:54:24 +01:00
Álvaro Brey Vilas
b07716c0e5
screenshotTest: uninstall app before running
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas
9f2bdd5916
Analysis: use pull_request_target
Can't post reports otherwise as github token is readonly in pull_request

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas
22367838ab
Run analysis workflow on push too
Otherwise baseline results aren't generated

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-24 16:25:33 +01:00
Álvaro Brey Vilas
417dee2535
workflows: Use temurin JDK instead of adopt
Ref: https://blog.adoptopenjdk.net/2021/08/goodbye-adoptopenjdk-hello-adoptium/

tl;dr: AdoptOpenJDK is discontinued and recommendation is to use Eclipse Temurin instead

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-20 11:01:09 +01:00
Tobias Kaminsky
7b30483a52
Create scorecards-analysis.yml 2022-01-20 07:14:36 +01:00
Álvaro Brey Vilas
33a2043d3f
Analysis workflow: correct head ref for branch
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-14 13:08:21 +01:00
dependabot[bot]
43638ed5e2
Bump actions/stale from 3 to 4.1.0
Bumps [actions/stale](https://github.com/actions/stale) from 3 to 4.1.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v3...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 13:11:37 +00:00
Álvaro Brey Vilas
9fa63c7547
Run analysis workflow in github actions
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-13 09:29:43 +01:00
Tobias Kaminsky
a639e8441c
Merge pull request #9043 from nextcloud/updateScreenshotsTests
Update screenshots tests
2022-01-12 08:57:22 +01:00
Álvaro Brey
fd8aae8e40
Merge pull request #9658 from nextcloud/dependabot/github_actions/hmarr/auto-approve-action-2.1.0
Bump hmarr/auto-approve-action from 2.0.0 to 2.1.0
2022-01-10 16:05:00 +01:00
tobiasKaminsky
503d6685a2
Fix failing username/password
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-01-10 09:31:11 +01:00
dependabot[bot]
f2c14abccb
Bump hmarr/auto-approve-action from 2.0.0 to 2.1.0
Bumps [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/hmarr/auto-approve-action/releases)
- [Commits](https://github.com/hmarr/auto-approve-action/compare/v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: hmarr/auto-approve-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-07 08:42:37 +00:00
tobiasKaminsky
40796f7612
Add huawei build flavor
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-14 08:42:01 +01:00
Álvaro Brey Vilas
f2c81a9715
stale action: Add exempt label to mark issues that shouldn't be stale automatically
We've got some issues that are open since a long time ago but aren't resolved, and  there isn't some clear short term resolution to them.
As such these isues are kept open because they still affect users, but the users have to be "fighting" the stale bot, which
understandably generates confusion and frustration.

This PR adds a specific label we can add to those issues so that the stale action will ignore them.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-02 08:36:05 +01:00
Álvaro Brey Vilas
c816aee5b1
CI: screenshotTests: always delete old comments
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:51 +02:00
Andy Scherzinger
6cf37e32d9 add missing changes from #8781
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Co-Authored-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-06 08:26:25 +00:00
Andy Scherzinger
1a7d8a7491 Update GH actions to Java 11
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-10-06 08:26:25 +00:00
tobiasKaminsky
a57f8eb989
Enhance screenshot handling
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-09-29 09:16:10 +02:00
Álvaro Brey Vilas
a621e29f18 Revert "scripts: Remove deleteOldComments.sh"
This reverts commit 131373f066.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-09-14 07:50:24 +00:00
Álvaro Brey Vilas
131373f066
scripts: Remove deleteOldComments.sh
Only used by screenShotTest.yml, but uploadReports.sh already
has a function for the same purpose.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-09-06 12:08:27 +02:00
Tobias Kaminsky
be4efff7b6
Merge pull request #8861 from alvarobrey/skip-QA-for-forks
CI:skip QA build if keystore pass is not available
2021-08-19 11:06:50 +02:00
Álvaro Brey
6863a8a637 CI:skip QA build if keystore pass is not available
This is just another step towards green checks on PRs :)

There is no way to skip the whole workflow depending on whether it is
a PR from a fork or not. The only workaround is to check whether secrets are present or not.

So, I've added a step to check if KS_PASS is empty, and set an output depending on that.
If it is empty, we just skip the rest of the steps.

To avoid the `if` repetition, a separate job can be used and then the whole `qa` job can
depend on its outputs. But that would add another "check" in the github UI.

Inspired by https://github.com/nextcloud/android/pull/8791#issuecomment-890524333

Signed-off-by: Álvaro Brey <alvaro.brv@gmail.com>
2021-08-16 00:42:30 +02:00
Nextcloud bot
08b2b481fe Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-02 08:44:35 +00:00
John Molakvoæ
e95da0a3d3
Delete rebase.yml 2021-06-27 19:54:21 +02:00
John Molakvoæ
996dfb0191
Create command-rebase.yml 2021-06-27 19:53:58 +02:00
Andy Scherzinger
bde0c49041
remove java8 builds
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-27 14:21:41 +02:00
tobiasKaminsky
d936f4707f
Rebase action: /rebase as comment
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-05-27 09:49:07 +02:00
Hannes Achleitner
0db8057cdd
Build CI with Java 8 and 11
Signed-off-by: Hannes Achleitner <hannes.software@gmx.at>
2021-05-14 10:57:20 +02:00
tobiasKaminsky
eaf144d4cf
Auto approve: fix gitHub action
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-03-29 16:44:23 +02:00
Andy Scherzinger
2fdf84ac2b
Add black screenshots tests
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-03-09 11:43:30 +01:00
tobiasKaminsky
1a66f6a3ee
Fix workflow for screenShotTest.yml
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-03-05 09:03:16 +01:00
Tobias Kaminsky
6ac9ab20fd
Merge pull request #8095 from nextcloud/assembleOnUbuntu
Assemble can run on ubuntu, so we save precious macOS testing time
2021-03-04 14:02:53 +01:00
Tobias Kaminsky
c768fab7a0
Merge pull request #8104 from nextcloud/githubTokenForAutoApprove
Use github_token also for auto_approve
2021-03-04 07:52:46 +01:00
tobiasKaminsky
815a8a95fc
Use github_token also for auto_approve
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-03-04 07:48:59 +01:00
tobiasKaminsky
b1616eb715
Assemble can run on ubuntu, so we save precious macOS testing time
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-03-03 11:11:22 +01:00
tobiasKaminsky
11e077a51f
Use GITHUB_TOKEN instead of own private access token
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-03-03 09:51:49 +01:00
Hannes Achleitner
fb40016b02 Reduce stored artifact size 2021-02-26 10:55:11 +01:00
Andy Scherzinger
dab5ce0f7c
Merge pull request #8046 from nextcloud/GrabEspressoResults
Grab Espresso results and apk
2021-02-25 16:06:38 +01:00
tobiasKaminsky
72d7f46ed1
Run every 2h
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-02-25 08:53:18 +01:00
Tobias Kaminsky
5511cd4046
Merge pull request #8048 from nextcloud/HamonizeCheckOnCI
Harmonize check CI jobs
2021-02-25 07:34:38 +01:00
Hannes Achleitner
2039a61013 Grab Espresso results
Keep apk artifacts

Signed-off-by: Hannes Achleitner <hannes.software@gmx.at>
2021-02-24 18:03:29 +01:00
Tobias Kaminsky
ca8f385439
Merge pull request #8043 from nextcloud/MatrixFlavors
[Testing] Build flavors with matrix
2021-02-24 14:51:13 +01:00
Hannes Achleitner
71a71f49f8 Harmonize check CI jobs
Signed-off-by: Hannes Achleitner <hannes.software@gmx.at>
2021-02-24 14:21:33 +01:00
Hannes Achleitner
6beeadc322 Build flavors with matrix
Signed-off-by: Hannes Achleitner <hannes.software@gmx.at>
2021-02-24 06:53:57 +01:00
Hannes Achleitner
c1eac11903 Build in matrix all
Signed-off-by: Hannes Achleitner <hannes.software@gmx.at>
2021-02-23 20:10:40 +01:00
Hannes Achleitner
cbafad99a0 Harmonize screenshot test with a matrix
Signed-off-by: Hannes Achleitner <hannes.software@gmx.at>
2021-02-23 18:36:31 +01:00
tobiasKaminsky
3a2cc8f247
Update label set
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-02-23 07:13:01 +01:00
tobiasKaminsky
69e7013727
Use stale actions instead of stale bot
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-02-22 13:51:30 +01:00
tobiasKaminsky
fb51298c97
Run workflows only on PRs, but not on direct push (e.g. transifex push, or merge commit)
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-01-14 15:10:21 +01:00
tobiasKaminsky
cff5e413c5
Use master, stable-* as target for workflow branches
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-01-05 14:42:56 +01:00
tobiasKaminsky
38e27420c3
Detect dependencies with snapshot
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-01-05 09:38:34 +01:00
tobiasKaminsky
2499896a51
Add white screenhot tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-12-08 23:42:06 +01:00
tobiasKaminsky
5db5aef0d0
Run screenshot tests on GitHub actions
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-18 09:57:01 +01:00
tobiasKaminsky
04693ed1a2
Move QA to GH actions
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-03 16:12:06 +01:00
tobiasKaminsky
c1a406f395
Add automerge for dependabot
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-23 07:22:08 +02:00
tobiasKaminsky
f6f401aa0d
change to newer spotbugs
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-19 11:03:07 +02:00
tobiasKaminsky
4847d3f2f5
Move CI tasks to github actions
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-19 07:41:52 +02:00
tobiasKaminsky
65e3c66d14
See: https://github.com/gradle/wrapper-validation-action
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-11 08:43:06 +01:00