From c16bd6ab052013eae75135c6d401e509b43914e5 Mon Sep 17 00:00:00 2001 From: ptrus Date: Thu, 19 Dec 2024 09:17:00 +0100 Subject: [PATCH 1/2] utils/backoff: increase the maximum allowed timeout --- analyzer/util/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyzer/util/util.go b/analyzer/util/util.go index c928f2bc3..09ea6e651 100644 --- a/analyzer/util/util.go +++ b/analyzer/util/util.go @@ -11,7 +11,7 @@ import ( ) const ( - timeoutUpperBound = 60 * time.Second + timeoutUpperBound = 60 * time.Minute // SHA256 of empty string. // oasis-core tags event that are not associated with any real transactions. // For example, the DebondingStart escrow event. From d1c1cadd4aacd85e61d8e1a44ac3ad14892f3ed4 Mon Sep 17 00:00:00 2001 From: ptrus Date: Thu, 19 Dec 2024 10:10:40 +0100 Subject: [PATCH 2/2] workflows: fix permissions --- .changelog/842.trivial.md | 0 .github/workflows/docker-nexus.yaml | 4 ++++ .github/workflows/release.yaml | 1 + 3 files changed, 5 insertions(+) create mode 100644 .changelog/842.trivial.md diff --git a/.changelog/842.trivial.md b/.changelog/842.trivial.md new file mode 100644 index 000000000..e69de29bb diff --git a/.github/workflows/docker-nexus.yaml b/.github/workflows/docker-nexus.yaml index 4bb911596..08d4f633c 100644 --- a/.github/workflows/docker-nexus.yaml +++ b/.github/workflows/docker-nexus.yaml @@ -15,6 +15,10 @@ on: - CHANGELOG.md workflow_dispatch: # manual; for debugging workflow before merging branch into `main` +permissions: + packages: write + contents: read + jobs: build-docker: runs-on: ubuntu-20.04 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bbc26c556..9b91395c5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,6 +6,7 @@ on: - 'v[0-9]+.[0-9]+*' permissions: + packages: write contents: write jobs: