rename repo to dagger-for-github

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-02-25 11:49:00 +01:00
parent 9e6ff7eb45
commit 826af86330
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
7 changed files with 16 additions and 16 deletions

View file

@ -7,14 +7,14 @@ to the public under the [project's open source license](LICENSE).
## Submitting a pull request ## Submitting a pull request
1. [Fork](https://github.com/dagger/dagger-action/fork) and clone the repository 1. [Fork](https://github.com/dagger/dagger-for-github/fork) and clone the repository
2. Configure and install the dependencies: `yarn install` 2. Configure and install the dependencies: `yarn install`
3. Create a new branch: `git checkout -b my-branch-name` 3. Create a new branch: `git checkout -b my-branch-name`
4. Make your changes 4. Make your changes
5. Make sure the tests pass: `docker buildx bake test` 5. Make sure the tests pass: `docker buildx bake test`
6. Format code and build javascript artifacts: `docker buildx bake pre-checkin` 6. Format code and build javascript artifacts: `docker buildx bake pre-checkin`
7. Validate all code has correctly formatted and built: `docker buildx bake validate` 7. Validate all code has correctly formatted and built: `docker buildx bake validate`
8. Push to your fork and [submit a pull request](https://github.com/dagger/dagger-action/compare) 8. Push to your fork and [submit a pull request](https://github.com/dagger/dagger-for-github/compare)
9. Pat your self on the back and wait for your pull request to be reviewed and merged. 9. Pat your self on the back and wait for your pull request to be reviewed and merged.
Here are a few things you can do that will increase the likelihood of your pull request being accepted: Here are a few things you can do that will increase the likelihood of your pull request being accepted:

6
.github/SUPPORT.md vendored
View file

@ -1,8 +1,8 @@
# Support [![](https://isitmaintained.com/badge/resolution/dagger/dagger-action.svg)](https://isitmaintained.com/project/dagger/dagger-action) # Support [![](https://isitmaintained.com/badge/resolution/dagger/dagger-for-github.svg)](https://isitmaintained.com/project/dagger/dagger-for-github)
## Reporting an issue ## Reporting an issue
Please do a search in [open issues](https://github.com/dagger/dagger-action/issues?utf8=%E2%9C%93&q=) to see if the issue or feature request has already been filed. Please do a search in [open issues](https://github.com/dagger/dagger-for-github/issues?utf8=%E2%9C%93&q=) to see if the issue or feature request has already been filed.
If you find your issue already exists, make relevant comments and add your [reaction](https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments). Use a reaction in place of a "+1" comment. If you find your issue already exists, make relevant comments and add your [reaction](https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments). Use a reaction in place of a "+1" comment.
@ -21,7 +21,7 @@ File a single issue per problem and feature request.
The more information you can provide, the more likely someone will be successful reproducing the issue and finding a fix. The more information you can provide, the more likely someone will be successful reproducing the issue and finding a fix.
You are now ready to [create a new issue](https://github.com/dagger/dagger-action/issues/new/choose)! You are now ready to [create a new issue](https://github.com/dagger/dagger-for-github/issues/new/choose)!
## Closure policy ## Closure policy

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

@ -1,15 +1,15 @@
![Dagger](.github/dagger.png) ![Dagger](.github/dagger.png)
[![GitHub release](https://img.shields.io/github/release/dagger/dagger-action.svg?style=flat-square)](https://github.com/dagger/dagger-action/releases/latest) [![GitHub release](https://img.shields.io/github/release/dagger/dagger-for-github.svg?style=flat-square)](https://github.com/dagger/dagger-for-github/releases/latest)
[![GitHub marketplace](https://img.shields.io/badge/marketplace-dagger--action-blue?logo=github&style=flat-square)](https://github.com/marketplace/actions/dagger-action) [![GitHub marketplace](https://img.shields.io/badge/marketplace-dagger--action-blue?logo=github&style=flat-square)](https://github.com/marketplace/actions/dagger-for-github)
[![Test workflow](https://img.shields.io/github/workflow/status/dagger/dagger-action/test?label=test&logo=github&style=flat-square)](https://github.com/dagger/dagger-action/actions?workflow=test) [![Test workflow](https://img.shields.io/github/workflow/status/dagger/dagger-for-github/test?label=test&logo=github&style=flat-square)](https://github.com/dagger/dagger-for-github/actions?workflow=test)
[![Codecov](https://img.shields.io/codecov/c/github/dagger/dagger-action?logo=codecov&style=flat-square)](https://codecov.io/gh/dagger/dagger-action) [![Codecov](https://img.shields.io/codecov/c/github/dagger/dagger-for-github?logo=codecov&style=flat-square)](https://codecov.io/gh/dagger/dagger-for-github)
## About ## About
GitHub Action for [Dagger](https://dagger.io), a programmable deployment system. GitHub Action for [Dagger](https://dagger.io), a programmable deployment system.
![Screenshot](.github/dagger-action.png) ![Screenshot](.github/dagger-for-github.png)
___ ___
@ -41,7 +41,7 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- -
name: Dagger name: Dagger
uses: dagger/dagger-action@v1 uses: dagger/dagger-for-github@v1
with: with:
age-key: ${{ secrets.DAGGER_AGE_KEY }} age-key: ${{ secrets.DAGGER_AGE_KEY }}
args: up args: up
@ -53,7 +53,7 @@ jobs:
steps: steps:
- -
name: Install Dagger name: Install Dagger
uses: dagger/dagger-action@v1 uses: dagger/dagger-for-github@v1
with: with:
install-only: true install-only: true
- -

2
dist/index.js generated vendored
View file

@ -128,7 +128,7 @@ function install(version) {
exports.install = install; exports.install = install;
function getLatestVersion() { function getLatestVersion() {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
const _http = new http.HttpClient('dagger-action'); const _http = new http.HttpClient('dagger-for-github');
const res = yield _http.get(`${s3URL}/latest_version`); const res = yield _http.get(`${s3URL}/latest_version`);
return yield res.readBody().then(body => { return yield res.readBody().then(body => {
return body.trim(); return body.trim();

View file

@ -1,5 +1,5 @@
{ {
"name": "dagger-action", "name": "dagger-for-github",
"description": "GitHub Action for Dagger, a programmable deployment system", "description": "GitHub Action for Dagger, a programmable deployment system",
"main": "lib/main.js", "main": "lib/main.js",
"scripts": { "scripts": {
@ -11,7 +11,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/dagger/dagger-action.git" "url": "git+https://github.com/dagger/dagger-for-github.git"
}, },
"keywords": [ "keywords": [
"actions", "actions",

View file

@ -39,7 +39,7 @@ export async function install(version: string): Promise<string> {
} }
async function getLatestVersion(): Promise<string> { async function getLatestVersion(): Promise<string> {
const _http = new http.HttpClient('dagger-action'); const _http = new http.HttpClient('dagger-for-github');
const res = await _http.get(`${s3URL}/latest_version`); const res = await _http.get(`${s3URL}/latest_version`);
return await res.readBody().then(body => { return await res.readBody().then(body => {
return body.trim(); return body.trim();