INNER CODE UNIT · Go

func

bliporg/blip · .github/main.go:10

func (m *Github) Generate() *dagger.Directory {
	return dag.Gha(dagger.GhaOpts{
		DaggerVersion: "latest",
		// Public tokens have restricted privileges,
		// they are a workaround to Github Action's restrictions
		// on secret access in public forks
		PublicToken: "p.eyJ1IjogIjFiZjEwMmRjLWYyZmQtNDVhNi1iNzM1LTgxNzI1NGFkZDU2ZiIsICJpZCI6ICI4ZmZmNmZkMi05MDhiLTQ4YTEtOGQ2Zi1iZWEyNGRkNzk4MTkifQ.l1Sf1gB37veXUWhxOgmjvjYcrh32NiuovbMxvjVI7Z0",
	}).
		WithPipeline(
			"Lua Modules (linter)",
			"lint-modules --src=.:modules",
			dagger.GhaWithPipelineOpts{
				OnPullRequestBranches: []string{"main"},
				SparseCheckout: []string{
					"lua",
				},
			},
		).

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…