Skip to content

Commit

Permalink
Merge branch 'ccip-develop' into feat/productionize-examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jhweintraub authored Jul 15, 2024
2 parents aaa82cd + 2cb3ffb commit b4b7cd5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Workflow is triggered daily midnight UTC
# A PR with more than 60 days of inactivity will be marked as stale
# A PR that's stale for more than 7 days will be automatically closed
# Issues are exempt from auto marking as stale but issues with manually added 'stale' label are eligible for auto closure after 7 days.
# PRs with assignees are exempt from auto stale marking, it's the responsibility of the assignee to get the PR progressed either with review/merge or closure.
# Workflow to manage automatically closing stale pull requests and issues.
# See configuration for configuration.
name: Manage stale Issues and PRs

on:
Expand All @@ -21,6 +18,8 @@ jobs:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
exempt-all-pr-assignees: true
stale-pr-message: 'This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
days-before-issue-stale: -1 # disables marking issues as stale automatically. Issues can still be marked as stale manually, in which the closure policy applies.
stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.'
days-before-pr-stale: 45
days-before-pr-close: 10
Original file line number Diff line number Diff line change
Expand Up @@ -561,10 +561,14 @@ func (c *CCIPIntegrationTestHarness) CreatePricesPipeline(t *testing.T) (string,
_, err := w.Write([]byte(`{"UsdPerLink": "8000000000000000000"}`))
require.NoError(t, err)
}))
t.Cleanup(linkUSD.Close)

ethUSD := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
_, err := w.Write([]byte(`{"UsdPerETH": "1700000000000000000000"}`))
require.NoError(t, err)
}))
t.Cleanup(ethUSD.Close)

sourceWrappedNative, err := c.Source.Router.GetWrappedNative(nil)
require.NoError(t, err)
destWrappedNative, err := c.Dest.Router.GetWrappedNative(nil)
Expand Down

0 comments on commit b4b7cd5

Please sign in to comment.