Compare commits

...
Author SHA1 Message Date
Ajaykn-mac dc05ccb4c5 update to latest golang version
licenced / Licences Check (push) Has been cancelled
2022-04-12 16:51:48 +09:00
ajaykn e60fba28c0 Create codeql-analysis.yml 2022-04-12 02:59:15 +09:00
ajaykn 6eeb22a901 Merge pull request #31 from bvennam/patch-1
update code owners to actions-policy
2022-01-14 15:41:15 +09:00
Belinda Vennam 1cb196bfc3 update code owners to actions-policy 2022-01-11 10:16:06 -05:00
ajaykn 3bd8d62e5a Merge pull request #30 from actions/ajaykn/update-go-version
update go version to 1.16 to fix the CI build
2022-01-08 01:21:02 +09:00
Ajaykn-mac b77c0b6ce5 update go version to 1.16 to fix the CI build
licenced / Licences Check (push) Has been cancelled
2022-01-08 01:13:58 +09:00
ajaykn abfafb927f Merge pull request #17 from HollowMan6/patch-1
Fix typo
2021-02-16 01:57:06 +09:00
Hollow Man 922ebefddc Fix typo
seperate -> separate
2021-02-15 15:08:23 +08:00
Josh Gross 2bed546ab6 Merge pull request #16 from lowply/patch-1 2021-02-13 11:31:10 -05:00
Sho MizutaniandJosh Gross 8cf67b3daa Update README.md
Co-authored-by: Josh Gross <[email protected]>
2021-02-14 00:51:03 +09:00
Sho Mizutani fdb1a90cd0 Mention the workflow scope 2021-02-12 14:03:58 +09:00
Josh Gross d82fba7861 Merge pull request #13 from actions/joshmgross/update-codeowners
Use actions-experience for CODEOWNERS
2020-12-09 11:33:50 -05:00
Josh Gross b32f4db973 Use actions-experience for CODEOWNERS 2020-12-07 13:31:46 -05:00
Andy McKay a4712be8a5 Merge pull request #10 from pjquirk/patch-1
Fix a spelling mistake
2020-11-13 07:28:58 -08:00
Chris Sidi 0a96001175 Merge pull request #11 from thboop/main
Swap to environment files
2020-09-30 10:47:25 -04:00
Thomas Boop e5194a7cd8 swap to environment file 2020-09-28 17:23:10 -04:00
PJ Quirk 092b199c45 Fix a spelling mistake 2020-09-25 15:31:52 -04:00
6 changed files with 76 additions and 6 deletions
+1 -1
View File
@@ -1 +1 @@
* @actions/reviewers
* @actions/actions-policy
+70
View File
@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '37 14 * * 1'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'go' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
with:
go-version: 1.14
- name: Set CURRENT_TAG
run: echo ::set-env name=GORELEASER_CURRENT_TAG::${GITHUB_REF#refs/tags/}
run: echo "GORELEASER_CURRENT_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
with:
+1 -1
View File
@@ -1,4 +1,4 @@
FROM golang:1.14
FROM golang:1.18
ENV GO111MODULE=on
WORKDIR /go/src/github.com/actions/actions-sync
+2 -2
View File
@@ -11,7 +11,7 @@ This is a standalone Go tool to allow you to sync from [GitHub](https://www.gith
* Build status: ![Actions Sync Status](https://github.com/actions/actions-sync/workflows/CI/badge.svg)
It is designed to work when:
* The GitHub Enterprise instance is seperate from the rest of the internet.
* The GitHub Enterprise instance is separate from the rest of the internet.
* The GitHub Enterprise instance is connected to the rest of the internet.
## Connected instances
@@ -104,7 +104,7 @@ When no machine has access to both the public internet and the GHES instance:
## Destination token scopes
When creating a personal access token include the `repo` scope. Include the `site_admin` scope (optional) if you want organizations to be created as necessary.
When creating a personal access token include the `repo` and `workflow` scopes. Include the `site_admin` scope (optional) if you want organizations to be created as necessary.
## Contributing
+1 -1
View File
@@ -10,7 +10,7 @@ type CommonFlags struct {
}
func (f *CommonFlags) Init(cmd *cobra.Command) {
cmd.Flags().StringVar(&f.CacheDir, "cache-dir", "", "Directory containing the repopositories cache created by the `pull` command")
cmd.Flags().StringVar(&f.CacheDir, "cache-dir", "", "Directory containing the repositories cache created by the `pull` command")
_ = cmd.MarkFlagRequired("cache-dir")
cmd.Flags().StringVar(&f.RepoName, "repo-name", "", "Single repository name to pull")