diff options
| -rw-r--r-- | .gitattributes | 4 | ||||
| -rw-r--r-- | .github/PULL_REQUEST_TEMPLATE.md | 1 | ||||
| -rw-r--r-- | .github/stale.yml | 24 | ||||
| -rw-r--r-- | lisp/octopus/octopus.lisp | 2 |
4 files changed, 30 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e1b1161 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..d483c02 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1 @@ +**Jira Ticket:** https://ololabs.atlassian.net/browse/ diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 0000000..21d312d --- /dev/null +++ b/.github/stale.yml @@ -0,0 +1,24 @@ +name: Staleness +on: + schedule: + - cron: "12 0 * * *" + +jobs: + stale: + name: Staleness + runs-on: ubuntu-latest + permissions: + pull-requests: write + issues: write + + steps: + - uses: actions/stale@v4 + with: + exempt-pr-labels: "In Progress" + delete-branch: true + days-before-stale: 14 + days-before-close: 7 + stale-pr-label: "Stale" + stale-pr-message: "This pull request is stale because it has been open for 14 days with no activity." + close-pr-message: "This pull request was closed because it has been inactive for 7 days since being marked as stale." + repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/lisp/octopus/octopus.lisp b/lisp/octopus/octopus.lisp index e9e1004..098c611 100644 --- a/lisp/octopus/octopus.lisp +++ b/lisp/octopus/octopus.lisp @@ -5,7 +5,7 @@ (defclass octopus () ((apikey :initarg :apikey - :initform (get-aws-ssm-parameter (sb-ext:posix-getenv "OLO_AWS_BUILD_PROFILE") "/octopus/ode-mgmt/token") + :initform (value (get-aws-ssm-parameter (sb-ext:posix-getenv "OLO_AWS_BUILD_PROFILE") "/octopus/ode-mgmt/token")) :accessor apikey) (baseurl :initarg :baseurl :initform "https://octopus.olobuild.net/api" |
