DigitalOcean Spaces

Highly scalable and affordable object storage.

Integrate the DigitalOcean Spaces API with the GitHub API

Setup the DigitalOcean Spaces API trigger to run a workflow which integrates with the GitHub API. Pipedream's integration platform allows you to integrate DigitalOcean Spaces and GitHub remarkably fast. Free for developers.

Create Issue with GitHub API on File Deleted from DigitalOcean Spaces API
DigitalOcean Spaces + GitHub
 
Try it
Create Issue with GitHub API on New File Uploaded from DigitalOcean Spaces API
DigitalOcean Spaces + GitHub
 
Try it
Search Issues and Pull Requests with GitHub API on File Deleted from DigitalOcean Spaces API
DigitalOcean Spaces + GitHub
 
Try it
Search Issues and Pull Requests with GitHub API on New File Uploaded from DigitalOcean Spaces API
DigitalOcean Spaces + GitHub
 
Try it
Create Branch with GitHub API on File Deleted from DigitalOcean Spaces API
DigitalOcean Spaces + GitHub
 
Try it
File Deleted from the DigitalOcean Spaces API

Emit new event when a file is deleted from a DigitalOcean Spaces bucket

 
Try it
New File Uploaded from the DigitalOcean Spaces API

Emit new event when a file is uploaded to a DigitalOcean Spaces bucket

 
Try it
New Branch from the GitHub API

Emit new event when a branch is created See the documentation

 
Try it
New Card in Column (Classic Projects) from the GitHub API

Emit new event when a (classic) project card is created or moved to a specific column. For Projects V2 use New Issue with Status trigger. More information here

 
Try it
New Collaborator from the GitHub API

Emit new event when a collaborator is added See the documentation

 
Try it
Delete Files with the DigitalOcean Spaces API

Delete files in a bucket. See the docs.

 
Try it
Create Issue with the GitHub API

Create a new issue in a Gihub repo. See docs here

 
Try it
Search Issues and Pull Requests with the GitHub API

Find issues and pull requests by state and keyword. See docs here

 
Try it
List Files with the DigitalOcean Spaces API

List files in a bucket. See the docs.

 
Try it
Create Branch with the GitHub API

Create a new branch in a Github repo. See docs here

 
Try it

Connect DigitalOcean Spaces

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { S3 } from "@aws-sdk/client-s3";
import { ListBucketsCommand  } from "@aws-sdk/client-s3";

export default defineComponent({
  props: {
    digitalocean_spaces: {
      type: "app",
      app: "digitalocean_spaces"
    }
  },
  async run({ steps, $ }) {
    console.log(this.digitalocean_spaces.$auth)
    const s3Client = new S3({
        forcePathStyle: false, // Configures to use subdomain/virtual calling format.
        endpoint: `https://${this.digitalocean_spaces.$auth.region}.digitaloceanspaces.com`,
        region: "us-east-1",
        credentials: {
          accessKeyId: this.digitalocean_spaces.$auth.key,
          secretAccessKey: this.digitalocean_spaces.$auth.secret
        }
    });

    const data = await s3Client.send(new ListBucketsCommand({}));
    return data.Buckets;
  },
})

Connect GitHub

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    github: {
      type: "app",
      app: "github",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.github.com/user`,
      headers: {
        Authorization: `Bearer ${this.github.$auth.oauth_access_token}`,
        "X-GitHub-Api-Version": `2022-11-28`,
      },
    })
  },
})