Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: golang/net
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: samkenxstream/SAMkenxgolang-net
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 10 commits
  • 2 files changed
  • 2 contributors

Commits on Feb 19, 2023

  1. Create deploy.yml

    samkenxstream authored Feb 19, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4436d81 View commit details

Commits on Feb 28, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e78e445 View commit details

Commits on Mar 9, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3c7ef2a View commit details

Commits on Mar 20, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    209a987 View commit details

Commits on Mar 23, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    38d93cb View commit details
  2. Create SECURITY.md

    samkenxstream authored Mar 23, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    32484b5 View commit details

Commits on Apr 10, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    64c6bac View commit details

Commits on Apr 20, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    037869d View commit details

Commits on May 5, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    eb1ae59 View commit details

Commits on May 23, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    606b1ab View commit details
Showing with 61 additions and 0 deletions.
  1. +40 −0 .github/workflows/deploy.yml
  2. +21 −0 SECURITY.md
40 changes: 40 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: deploy
on:
push:
branches:
- deploy-staging
- deploy-production

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set staging variables
run: |
echo "ENVIRONMENT_URL=https://your_service.npm.red" >> $GITHUB_ENV
echo "DEPLOYMENT_CONFIDENCE_URL=${{ secrets.DATADOG_STAGING_DEPLOYMENT_DASHBOARD_URL }}" >> $GITHUB_ENV
if: github.ref == 'refs/heads/deploy-staging'

- name: Set production variables
run: |
echo "ENVIRONMENT_URL=https://your_service.internal.npmjs.com" >> $GITHUB_ENV
echo "DEPLOYMENT_CONFIDENCE_URL=${{ secrets.DATADOG_PRODUCTION_DEPLOYMENT_DASHBOARD_URL }}" >> $GITHUB_ENV
if: github.ref == 'refs/heads/deploy-production'

- name: create a deployment
uses: npm/action-deploy@v2
with:
type: create
token: ${{github.token}}
logs: https://github.slack.com/archives/C02UYAZ5P # npm-deploys channel
environment_url: ${{env.ENVIRONMENT_URL}}
deployment_confidence_url: ${{env.DEPLOYMENT_CONFIDENCE_URL}}
job_status: ${{job.status}} # keep that to track status of the current job, when deployment is completed
slack_token: ${{secrets.NPM_ROBOT_SLACK_TOKEN}}
slack_channel: npm-ops

# change to actual deployment steps
- name: placeholder for actual deployment
run: sleep 10s
21 changes: 21 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Security Policy

## Supported Versions

Use this section to tell people about which versions of your project are
currently being supported with security updates.

| Version | Supported |
| ------- | ------------------ |
| 5.1.x | :white_check_mark: |
| 5.0.x | :x: |
| 4.0.x | :white_check_mark: |
| < 4.0 | :x: |

## Reporting a Vulnerability

Use this section to tell people how to report a vulnerability.

Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.