Skip to content

Commit

Permalink
🤖
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 authored Oct 10, 2022
1 parent 5f4a9da commit 5c94c6a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,9 @@ jobs:
- uses: docker/build-push-action@v2
with:
push:
${{ inputs.release || github.event_name == 'push' || github.event_name == 'schedule'
|| github.event_name == 'workflow_dispatch' }}
${{ inputs.release || github.event_name == 'push' ||
github.event_name == 'schedule' || github.event_name ==
'workflow_dispatch' }}
context: ./
file: ./Dockerfile
tags: |
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: >
gh release create
--target ${{ github.event.pull_request.merge_commit_sha }}
{--title=CML\ ,}$(basename ${{ github.head_ref }})
--generate-notes
--draft
gh release create --target ${{
github.event.pull_request.merge_commit_sha }} {--title=CML\
,}$(basename ${{ github.head_ref }}) --generate-notes --draft
env:
GITHUB_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}
package:
Expand Down
11 changes: 2 additions & 9 deletions bin/cml/runner/launch.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,15 +338,8 @@ const run = async (opts) => {
process.on(signal, () => shutdown({ ...opts, reason: signal }));
});

const {
workdir,
cloud,
labels,
name,
reuse,
reuseIdle,
dockerVolumes
} = opts;
const { workdir, cloud, labels, name, reuse, reuseIdle, dockerVolumes } =
opts;

await cml.repoTokenCheck();

Expand Down

2 comments on commit 5c94c6a

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

Please sign in to comment.